I Need some explanation on this
MockManager.Init(true);
Mock mock = MockManager.Mock(typeof(MainClass),false);
mock.ExpectSet("I");
MainClass mainClass=new MainClass();
mainClass.I=1;
mock.Verify();
that passes ok as expected
but the following is expected to pass also but it does not
MockManager.Init(true);
Mock mock = MockManager.Mock(typeof(MainClass),false);
MainClass mainClass=new MainClass();
mainClass.I=1;
mock.ExpectSet("I");
MainClass mainClass1=new MainClass();
mainClass1.I=2;
mock.Verify();