Stubbing out methods that explicitly implement an interface using Rhino Mocks

Posted by Ben Aston on Stack Overflow See other posts from Stack Overflow or by Ben Aston
Published on 2010-05-05T09:07:13Z Indexed on 2010/05/05 9:08 UTC
Read the original article Hit count: 288

How can I stub out methods that explicitly implement an interface using Rhino Mocks?

As I understand it, Rhino Mocks requires stubbed out methods to be virtual, and explicitly implemented interface members are not virtual.

© Stack Overflow or respective owner

Related posts about rhino-mocks

Related posts about explicit-interface