I just started to use TypeMock yesterday and I am having a little trouble.
I read in the forum that there is some "Reserved" system types that cannot be mocked. Can we have the list?
In my example, I was using these types:
Are they reserved?
In my test, I tried to mock the FileStream
Mock streamMock = MockManager.Mock(typeof(FileStream));
but the FileStream constructor(
filename, FileMode) was still called?
Thank you for your help,
Benjamin