Maybe your project is targeting .net 2.0 because I compiled and ran that
code.
Glad you found a solution though.

On Tue, Mar 24, 2009 at 12:11 AM, Jax <[email protected]> wrote:

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


-- 

Fred Allen  - "The first time I sang in the church choir; two hundred people
changed their religion."

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