junit+powermock+mockito静态方法测试
摘要:
org.powermock powermock-module-junit4 1.6.6 org.powermock powermock-api-mockito 1.6.6准备工作:@Runwith PowerMockRunner.class @PrepareForTest 所有要mock的静态类 @RunWith(PowerMockRunner.class) @PrepareForT... 阅读全文
posted @ 2017-02-13 09:41 Cuddles 阅读(1024) 评论(0) 推荐(0) 编辑