hsjl.net
当前位置:首页 >> powErmoCkito spy >>

powErmoCkito spy

@RunWith(PowerMockRunner.class) @PrepareForTest(MyClass.class) public class MyClassTest { private MyClass myClass; @Before public void setup() { myClass = PowerMockito.spy(new MyClass()); PowerMockito.doNothing().when(myClass, ...

网站首页 | 网站地图
All rights reserved Powered by www.hsjl.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com