EasyMock: Add one more expectation after replay
Is it possible to add 开发者_如何学Goexpectation 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.
精彩评论