OutputFile { public FilePostProcessor getPostProcessor() { return postProcessor; } 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 test4() { OutputFile file = new OutputFile("test.zip", FilePostProcessor.FILE_GZIP); assertEquals(FilePostProcessor.FILE_GZIP, file.getPostProcessor()); }