FolderOutputResult implements OutputResult { boolean isImportantFile(String outputFile) { return outputFile.contains("pom.xml") || outputFile.contains("celerio-maven-plugin.xml") || outputFile.contains("celerio-template-packs.xml") || outputFile.contains("01-create.sql"); } FolderOutputResult(SourceFile userSource, SourceFile generatedSource);  FolderOutputResult(SourceFile userSource, SourceFile generatedSource, FileTracker fileTracker); @Override void open(); synchronized void close(); @Override void addContent(byte[] contentBytes, String targetFilename, TemplatePack pack, Template template); @Override void addCollisionContent(byte[] contentBytes, String targetFilename, TemplatePack pack, Template template); @Override void addContent(InputStream contentStream, String targetFilename, TemplatePack pack, Template template); @Override SourceFile getUserSource(); @Override SourceFile getGeneratedSource(); @Override boolean sameDirectory(); @Override boolean hasCollision(String pathToFile); @Override String getCollisionName(String targetFilename);  }
@Test public void isImportantFile() { FolderOutputResult pe = new FolderOutputResult(new ZipSourceFile(), new ZipSourceFile()); assertTrue(pe.isImportantFile("path/pom.xml")); assertTrue(pe.isImportantFile("path/celerio-maven-plugin.xml")); assertTrue(pe.isImportantFile("path/01-create.sql")); }