### Question:
KiePMMLDroolsModelWithSources extends KiePMMLDroolsModel implements HasRule { @Override public Map<String, String> getSourcesMap() { return Collections.unmodifiableMap(sourcesMap); } KiePMMLDroolsModelWithSources(String name, String kmodulePackageName, Map<String, String> sourcesMap, PackageDescr packageDescr); @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(); @Override String getPkgUUID(); PackageDescr getPackageDescr();  }### Answer:
@Test public void getSourcesMap() { assertEquals(SOURCES_MAP, kiePMMLDroolsModelWithSources.getSourcesMap()); }
@Test(expected = UnsupportedOperationException.class) public void addToGetSourcesMap() { Map<String, String> retrieved = kiePMMLDroolsModelWithSources.getSourcesMap(); retrieved.put("KEY", "VALUE"); }