IgnoreArguments including an Action<T>
Posted
by James L
on Stack Overflow
See other posts from Stack Overflow
or by James L
Published on 2010-03-23T10:23:15Z
Indexed on
2010/03/23
10:33 UTC
Read the original article
Hit count: 309
rhino-mocks
|mocking
I'm probably missing something obvious here, so apologies in advance!
Using Rhino Mocks, how do I set an expectation that a method taking an Action will be called, but I want to use IgnoreArguments. Obviously I can't specify null as that isn't an Action, and I dont want any meaningless code in the test.
As I said, it's probably obvious by the syntax is eluding me at the moment!
© Stack Overflow or respective owner