Sorry, that's a mistake - the line should have been
IMyController mockController = mocks.DynamicMock<IMyController>();

The question remains, though - when the object that's mocking the
IMyController interface then needs to be cast as a ControllerBase
object, how can a mocked object handle it?

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