Exactly. That's how I implemented it and it works fine.

On 5 Apr., 03:34, Patrick Steele <[email protected]> wrote:
> server.AssertWasCalled(s => s.SendDeselectRoleCadRequest(), o =>
> o.Repeat.Once());
>
> ---
> Patrick Steelehttp://weblogs.asp.net/psteele
>
>
>
> On Sun, Apr 4, 2010 at 6:08 PM, Karl <[email protected]> wrote:
> > Patrick and Rasto basically both suggested the same approach as far as
> > I understood.
> > Just calling the methods and then asserting that the request was only
> > sent once to the server.
> > By following this approach there is no need to "Reset" a mock object,
> > however I'm still curious if this is even possible.
> > If somebody has an answer pls let me know.- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

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