### Question:
SourceGenerator { public void generate() throws GeneratorException { this.generateSourcesForMultiMavenModule(); InfoGenerator.builder() .naluGeneraterParms(this.naluGeneraterParms) .projectFolder(this.projectFolder) .build() .generate(); } private  SourceGenerator(Builder builder); static Builder builder(); void generate();  }### Answer:
@Test public void springBootGeneratorTest() throws GeneratorException, IOException { SourceGenerator generator = getSourceGenerator(); generator.generate(); boolean hasTomcatConfig = Files.find(serverFolder.getRoot().toPath(), Integer.MAX_VALUE, (filePath, fileAttr) -> fileAttr.isDirectory()) .anyMatch(path -> path.toFile().getName().equals("tomcatconf")); assertFalse(hasTomcatConfig); boolean hasJettyConfig = Files.find(serverFolder.getRoot().toPath(), Integer.MAX_VALUE, (filePath, fileAttr) -> fileAttr.isDirectory()) .anyMatch(path -> path.toFile().getName().equals("jettyconf")); assertFalse(hasJettyConfig); boolean hasResources = Files.find(serverFolder.getRoot().toPath(), Integer.MAX_VALUE, (filePath, fileAttr) -> fileAttr.isDirectory()) .anyMatch(path -> path.toFile().getName().equals("resources")); assertTrue(hasResources); boolean hasPublicDir = Files.find(serverFolder.getRoot().toPath(), Integer.MAX_VALUE, (filePath, fileAttr) -> fileAttr.isDirectory()) .anyMatch(path -> path.toFile().getName().equals("public")); assertTrue(hasPublicDir); Path hostpagePath = Files.find(serverFolder.getRoot().toPath(), Integer.MAX_VALUE, (filePath, fileAttr) -> fileAttr.isRegularFile()) .filter(path -> path.toFile().getName().equals("MyTestProject.html")) .findFirst() .orElse(null); assertNotNull(hostpagePath); assertTrue(hostpagePath.toFile().getAbsolutePath().contains("public" + File.separator + "MyTestProject.html")); Path appProbs = Files.find(serverFolder.getRoot().toPath(), Integer.MAX_VALUE, (filePath, fileAttr) -> fileAttr.isRegularFile()) .filter(path -> path.toFile().getName().equals("application.properties")) .findFirst() .orElse(null); assertNotNull(appProbs); assertTrue(appProbs.toFile().getAbsolutePath().contains("resources" + File.separator + "application.properties")); }