Even after installing JustMock Software, I'm not able to mock the objects.
A piece of code works on other machine but the same doesn't works on mine.
To Mock a object I wrote:
Class obj = Mock.Create<Class>(Constructor.Mocked);
But when I try to execute this statement, ideally the debugger should not go inside the constructor but unfortunately it does.
Any suggestion would be of great help.
A piece of code works on other machine but the same doesn't works on mine.
To Mock a object I wrote:
Class obj = Mock.Create<Class>(Constructor.Mocked);
But when I try to execute this statement, ideally the debugger should not go inside the constructor but unfortunately it does.
Any suggestion would be of great help.