http://ayende.com/wiki/GetFile.aspx?File=Rhino+Mocks+3.3+Quick+Reference.pdf

On Wed, Aug 19, 2009 at 2:17 PM, Ayende Rahien <[email protected]> wrote:

> _What_ PDF?
>
> On Wed, Aug 19, 2009 at 9:31 PM, Tim Barcz <[email protected]> wrote:
>
>> PDF ?= RhinoMocks 3.3 documents
>> (Slaps forhead remembering he was going to update document to 3.5 syntax)
>>
>> On Tue, Aug 18, 2009 at 7:02 PM, TheMightyKumquat <[email protected]>wrote:
>>
>>>
>>> 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?
>>>
>>>
>>
>>
>> --
>> Tim Barcz
>> ASPInsider
>> http://timbarcz.devlicio.us
>> http://www.twitter.com/timbarcz
>>
>>
>>
>>
>
> >
>


-- 
Tim Barcz
ASPInsider
http://timbarcz.devlicio.us
http://www.twitter.com/timbarcz

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