OK, now that I see it works, I will code it that way from now on. But what I'm curious about is that the PDF you download with Rhino Mocks dll instructs you to mock the setting of a property as follows.
//expect a setter to be called (value unimportant) axis.Position = 0.56; LastCall.IgnoreArguments(); //use LastCall to set expectation details My test fails with exactly that syntax, and it only passes if I change the syntax to that for a property Get - that is, to Expect.Call(x.myProperty).Return(mockedProperty) So the pdf is wrong? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
