PMMLRestResourceGenerator { public String generatedFilePath() { return relativePath; } PMMLRestResourceGenerator(KiePMMLModel model, String appCanonicalName); String generate(); String getNameURL(); KiePMMLModel getKiePMMLModel(); PMMLRestResourceGenerator withDependencyInjection(DependencyInjectionAnnotator annotator); String className(); String generatedFilePath();  }
@Test void generatedFilePath() { String retrieved = pmmlRestResourceGenerator.generatedFilePath(); assertTrue(retrieved.startsWith("org/kie/kogito")); String classPrefix = getSanitizedClassName(KIE_PMML_MODEL.getName()); String expected = StringUtils.ucFirst(classPrefix) + "Resource.java"; assertTrue(retrieved.endsWith(expected)); }