@Test
public void addPMMLRuleMapperKiePMMLModelHasNestedModelsHasSourceMap() {

    KiePMMLModelHasNestedModelsHasSourceMap kiePmmlModel = new KiePMMLModelHasNestedModelsHasSourceMap("TEST",
                                                                                                       Collections.emptyList());
    assertTrue(kiePmmlModel.sourcesMap.isEmpty());
    final List<String> generatedRuleMappers = new ArrayList<>();
    PMMLCompilerService.addPMMLRuleMapper(kiePmmlModel, generatedRuleMappers, "source_path");
    assertTrue(kiePmmlModel.sourcesMap.isEmpty());
    assertTrue(generatedRuleMappers.isEmpty());
    kiePmmlModel.nestedModels.forEach(nestedModel -> {
        assertTrue(((HasSourcesMap) nestedModel).getSourcesMap().isEmpty());
    });
}