KiePMMLFactoryModel extends KiePMMLModel implements HasSourcesMap { @Override public Map<String, String> getSourcesMap() { return Collections.unmodifiableMap(sourcesMap); } 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 = UnsupportedOperationException.class) public void getSourcesMap() { Map<String, String> retrieved = kiePMMLFactoryModel.getSourcesMap(); retrieved.put("KEY", "VALUE"); }