Modify Return values of Methods
Brought to you by:
tammofreese
Hi,
we use a lot of utility methods for the tests, to provide common mocks for classes. But sometimes you have to modify a single return value, of those mocks objects, to test a failure case for example.
It does not seem to be possible to change the return value of a method once replay was called.
Reset removes all return values of a mock, right?
Is there maybe such a feature or maybe is it already planned? Could you add that?
Thanks a lot!
Regards, Ben.