Is it possible to add expectation after having mock object replayed?
It is possible to reset a mock object and apply new expectations to it before replaying it again.
EasyMock.reset(myMock)
See the EasyMock documentation for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With