Changing the re-use of return values in test cases
Brought to you by:
ivan_r_moore,
mpcooke3
Upon generation of a mock object (in the Eclipse
plugin), there is the option of re-using the last
returned value for methods that have a return value.
What i would like are methods on the mock itself so
that i can turn on and off this behaviour in my test
cases.
Also, when re-using the last returned value, it would
be nice if setup<method name> would re-set the value
that is to be returned after someone has already made a
call to setup<method name>.