It seems like this must have come up before, but I am not able to find answer; How do you Assert that a property was read? In the wiki it says you can do this syntax:
customerMock.AssertWasCalled(x => x.Name); But that does not compile "Only assignment, call, increment, decrement, and new object expressions can be used as a statement"... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
