### Question:
JudgmentContentFileDeleter { public void deleteContents(List<String> contentPaths) { File judgmentContentDir = new File(judgmentContentPath); for (String contentPath : contentPaths) { new File(judgmentContentDir, contentPath).delete(); } }  void deleteContents(List<String> contentPaths); @Value("${judgments.content.dir}") void setJudgmentContentPath(String judgmentContentPath);  }### Answer:
@Test public void deleteContents() throws IOException { File file1 = new File(contentDir, "file1.txt"); File file2 = new File(contentDir, "file2.txt"); File file3 = new File(contentDir, "file3.txt"); file1.createNewFile(); file2.createNewFile(); file3.createNewFile(); judgmentContentFileDeleter.deleteContents(Lists.newArrayList("file1.txt", "file2.txt")); assertFalse(file1.exists()); assertFalse(file2.exists()); assertTrue(file3.exists()); }