Rhino Mocks – Difference between GenerateStub & GenerateMock [closed]
you should use a mock when you are going to verify that something happened on the object, like a method was called. You should use a stub when you just want the object to be involved in the test to return a value but it is not the thing you are testing. A stub which … Read more