KiePMMLFactoryModel extends KiePMMLModel implements HasSourcesMap { @Override public Map<String, Object> getOutputFieldsMap() { throw new KiePMMLException("KiePMMLFactoryModel is not meant to be used for actual usage"); } KiePMMLFactoryModel(String name, String kmodulePackageName, Map<String, String> sourcesMap); @Override Object evaluate(final Object knowledgeBase, Map<String, Object> requestData); @Override Map<String, Object> getOutputFieldsMap(); @Override Map<String, String> getSourcesMap(); @Override void addSourceMap(String key, String value); @Override String getKModulePackageName();  }
@Test(expected = KiePMMLException.class) public void getOutputFieldsMap() { kiePMMLFactoryModel.getOutputFieldsMap(); }