OutputFile { public static List<OutputFile> of(String... fileNames) { List<OutputFile> outputFiles = new ArrayList<>(fileNames.length); for (String fileName : fileNames) { outputFiles.add(new OutputFile(fileName)); } return outputFiles; } OutputFile(String name);  OutputFile(String name, FilePostProcessor postProcessor);  OutputFile(Function<Integer, String> nameFunc, FilePostProcessor postProcessor); static List<OutputFile> of(String... fileNames); String getName(int executionNumber); FilePostProcessor getPostProcessor(); boolean dependsOnExecutionNumber();  }
@Test public void test5() { List<OutputFile> files = OutputFile.of("test"); assertEquals(1, files.size()); assertNotNull(files.get(0)); }