Tuesday, February 26, 2013

Rhino.Mocks WhenCalled() throws exception "Method requires a return value or an exception to throw"

When using of WhenCalled, you should also specify Return statement at the end. More details here.