@Test
public void testRest() throws Exception {
MockTest mockTest = new MockTest();
easyMockModule.createAndInjectMocksIntoTest(mockTest);
EasyMock.expect(mockTest.testMock.isEmpty()).andReturn(Boolean.TRUE);
easyMockModule.reset(); //without the reset the call would fail.
easyMockModule.verify();
}
EasyMockModuleTest.java 文件源码
java
阅读 13
收藏 0
点赞 0
评论 0
项目:unitils
作者:
评论列表
文章目录