PowerMockito.mockStatic(Class clazz);. 用途:. 可以用于模拟类的静态方法,必须使用“@RunWith”和“@PrepareForTest”注解。 @RunWith( ...
確定! 回上一頁