Reset Method
Brought to you by:
ivan_r_moore,
mpcooke3
Hi,
I thought it would be nice to have a reset() method on a
Mockobject that would set the counters back to 0 and
the iterators of the ReturnValues back to the beginning.
That would allow to configure a mock-object and use in
more than once.
For example a JUnit test could call reset() on setUp() for
each test that uses the same object.