开发者

EasyMock: Add one more expectation after replay

开发者 https://www.devze.com 2023-03-31 00:40 出处:网络
Is it possible to add 开发者_如何学Goexpectation after having mock objectreplayed?It is possible to reset a mock object and apply new expectations to it before replaying it again.

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

精彩评论

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