Hi Sony,
1. Faking static methods called in a constructor is possible like any other call.
if your constructor is calling a method of its own class, you can fake the call using this API:
// Create a mock for class MyClass (Foo is the method called in the constructor)
Mock mock = MockManager.Mock<MyClass>(Constructor.NotMocked);
// Faking the call to Foo
mock.ExpectCall("Foo");
// The actual call to the constructor - Foo will not be called
MyClass t = new MyClass();
You can check our online help for all of the above API...
2. See the link in your previous question on the forum...
http://forums.typemock.com/viewtopic.php?p=8518#8518
Is the ObjectState API not enough? What are you trying to accomplish?
_________________
Regards
Yonatan,
TypeMock Support