What's the difference between the following:

mockSessionRepository.AssertWasCalled(x => x.GetSessions(null), y =>
y.IgnoreArguments());

and

mockSessionRepository.AssertWasCalled(x =>
x.GetSessions(Arg<Criteria>.Is.Anything)));

Is the only difference that one one asserts not null versus null? (or is
that not even correct...) What's a good example of when to use one instead
of another?

-- 
Chris Missal
http://chrismissal.lostechies.com/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to