Chris - tried that - Id and Code is not available on "arg"
Albert - I think you meant:
mock.AssertWasCalled(x => x.SomeMethod
(Args.MatchProperties<ComplexObject>(new { Id = 1, Code = "abc")));
...works like a charm - thx.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---