CloudEventsResourceGenerator { public String generatedFilePath() { return String.format("%s/%s.java", ApplicationGenerator.DEFAULT_PACKAGE_NAME.replace(".", "/"), CLASS_NAME); } CloudEventsResourceGenerator(final List<ProcessExecutableModelGenerator> generators, final DependencyInjectionAnnotator annotator);   CloudEventsResourceGenerator(final List<ProcessExecutableModelGenerator> generators); String generatedFilePath(); String generate();  }
@Test void generatedFilePath() throws URISyntaxException { final String filePath = new CloudEventsResourceGenerator(Collections.emptyList()).generatedFilePath(); assertThat(new URI(filePath).toString()).endsWith(".java"); }