开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜