GenerateMock will return a dynamicMock, i.e. It will allow unspecified
calls to be made on it. So the behaviour you're seeing is correct
If you wanted the test to fail you could either explicitly create a
strict mock or use mockConsole.AssertWasNotCalled(x=>x.Print("b"));
2009/6/23 Kedar <
kgod...@gmail.com>: