I want to create a stub of the following interface:
interface IUnitOfWork { void DoInTransaction(Action method); }
In the stub object, all I want to do DoInTransaction is to run method() .
Something like:
Is it possible to create such a stub with RhinoMocks? How can I do that?
Ilya Kogan
source share