@Test
public void addPMMLRuleMappersHasSourceMap() {

    KiePMMLModelHasSourceMap kiePmmlModel = new KiePMMLModelHasSourceMap("TEST", Collections.emptyList());
    assertTrue(kiePmmlModel.sourcesMap.isEmpty());
    final List<String> generatedRuleMappers = IntStream.range(0, 3)
            .mapToObj(i -> "apackage" + i + "." + KIE_PMML_RULE_MAPPER_CLASS_NAME).collect(Collectors.toList());
    PMMLCompilerService.addPMMLRuleMappers(kiePmmlModel, generatedRuleMappers, "source_path");
    assertFalse(kiePmmlModel.sourcesMap.isEmpty());
    String expected =  kiePmmlModel.getKModulePackageName() + "." + KIE_PMML_RULE_MAPPERS_CLASS_NAME;
    assertTrue(kiePmmlModel.sourcesMap.containsKey(expected));
}