Is there a way to use VerifyAll on new static MockRepository instead of calling VerifyAllExpectations on every mocked object in my test? For instance a method uses 10 different services and you are only interested in testing the behaviour of this method i.e. those 10 services are called, you’d mock 10 services using DynamicMock and simply call VerifyAll. With non AAA model it can be achieved by mocking services in SetUp using DynamicMock, recording expectations on the mocked objects, playing back the operation and calling VerifyAll on mock repository. But how can I achieve the same with AAA syntax, benefit of auto record and playback is weighed out by calling VerifyAllExpectations on all mocked objects.
-- You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhinomocks?hl=en.
