@Test void testNewFile() { final File result = underTest.newFile("testpath", "testname.zip"); assertThat(result.getPath(), is("testpath" + File.separator + "testname.zip")); }
public File newFile(final String filePath, final String fileName) { return new File(filePath, fileName); }
FileFactory { public File newFile(final String filePath, final String fileName) { return new File(filePath, fileName); } }
FileFactory { public File newFile(final String filePath, final String fileName) { return new File(filePath, fileName); }  }
FileFactory { public File newFile(final String filePath, final String fileName) { return new File(filePath, fileName); }  File newFile(final String filePath, final String fileName); }
FileFactory { public File newFile(final String filePath, final String fileName) { return new File(filePath, fileName); }  File newFile(final String filePath, final String fileName);  }