怎么Mock一个private static final变量
参考链接IT屋博客园目标类class TargetClass{private static final String passString=null;...}测试类@RunWith(PowerMockRunner.class)@PrepareForTest()class TargetClassTest {@Test public void myTest(){ try { setFinalStatic(TargetClass.class.getDeclare