1

Is there any way to get Rhino Mock to automatically generate the "Expect.Calls" at runtime?

So if we were to personify Rhino mock, it would say..."According to this setting, I'm going to generate an expect.call for any method I run across that belongs to a class that implements any of these interfaces."

Joe Web
  • 128
  • 1
  • 1
  • 7

1 Answers1

1

You could either use dynamic mock concept from RhinoMocks to mock whole interface implementation, or autofixture with RhinoMocks could helps you. If you are able to provide more clear example of your idea, someone could advice you better solution.

Akim
  • 8,469
  • 2
  • 31
  • 49