mock File using PowerMockito

后端 未结 0 894
面向向阳花
面向向阳花 2021-01-15 00:14

I am trying to write test case for the below method.

File file = new File(filePath);
      if (file.createNewFile()) {
        FileWriter writer = new FileWri         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题