PMMLRestResourceGenerator { public String className() { return resourceClazzName; } PMMLRestResourceGenerator(KiePMMLModel model, String appCanonicalName); String generate(); String getNameURL(); KiePMMLModel getKiePMMLModel(); PMMLRestResourceGenerator withDependencyInjection(DependencyInjectionAnnotator annotator); String className(); String generatedFilePath();  }
@Test void className() { String classPrefix = getSanitizedClassName(KIE_PMML_MODEL.getName()); String expected = StringUtils.ucFirst(classPrefix) + "Resource"; assertEquals(expected, pmmlRestResourceGenerator.className()); }