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