RosMockLyn – The API evolves: Part II
Last time I wrote about the creation of mocks and how I solved setting up method calls. Let’s delve into assertions. Assertions What is a mocking framework without the ability to check whether something on the mock was called. Again for comparison: // RhinoMocks myMock.Expect(x => x.SomeMethod()); // the test code myMock.VerifyAll(); // or myMock.AssertWasCalled(x […]