您的位置:首页 > Web前端

createMock and createNiceMock and createStrickMock differences

2012-02-10 14:29 766 查看
EasyMock.createMock(): Creates a mock object that implements the given interface, order

checking is disabled by default.

 

EasyMock.createNiceMock() : Creates a mock object that implements the given interface, order checking is disabled by default, and

the mock object will return 0, null or false for unexpected invocations.

 

EasyMock.createStrickMock() : Creates a mock object that implements the given interface, order

checking is enabled by default.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  interface object null