I want to test a custom UI control, more specifically its invokations on 
the Graphics object. The are many such invocations and I don't want to 
specify all of them. Rather, I'd like to iterate over a list of all 
invokations and check whether my assertions are met.

The invocations are recorded anyway, right? Rhino mock needs them to check 
the assertion. Can I access the list of recorded invocations or can I add a 
custom handler that records them? I'm willing to modify the source code of 
the Rhino Mock library if this is needed.

Cheers,

Mirko


Am Dienstag, 7. August 2012 15:58:52 UTC+2 schrieb Patrick Steele:
>
> Not that I know of.  Why do you want this? 
>
> --- 
> Patrick Steele 
> http://weblogs.asp.net/psteele 
>
>
> On Tue, Aug 7, 2012 at 5:16 AM, Mirko Seifert wrote: 
> > Hi, 
> > 
> > is there a way to get a list of all methods that were invoked on a 
> mocked 
> > object? 
> > 
> > I've tried using GetArgumentsForCallsMadeOn() but this required to 
> specify 
> > the methods I'm interested in. Rather, I want all calls. 
> > 
> > Thanks in advance, 
> > 
> > Mirko 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Rhino.Mocks" group. 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msg/rhinomocks/-/60O6efnZX2cJ. 
> > 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. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rhinomocks/-/t9uWkOuOd_cJ.
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