@Test
public void getPredicateSourcesMap() {

    String packageName = "PACKAGENAME";
    String predicateName = "PREDICATENAME";
    KiePMMLPredicate kiePMMLPredicate = KiePMMLSimplePredicate
            .builder(predicateName, Collections.emptyList(), OPERATOR.GREATER_OR_EQUAL)
            .withValue(24)
            .build();
    Map<String, String> retrieved = KiePMMLPredicateFactory.getPredicateSourcesMap(kiePMMLPredicate, packageName);
    commonVerifySourceMap(retrieved, packageName, getSanitizedClassName(kiePMMLPredicate.getId()), 1);
    kiePMMLPredicate = KiePMMLCompoundPredicate.builder(Collections.emptyList(), BOOLEAN_OPERATOR.OR).build();
    retrieved = KiePMMLPredicateFactory.getPredicateSourcesMap(kiePMMLPredicate, packageName);
    commonVerifySourceMap(retrieved, packageName, getSanitizedClassName(kiePMMLPredicate.getId()), 1);
    kiePMMLPredicate = KiePMMLTruePredicate.builder(Collections.emptyList()).build();
    retrieved = KiePMMLPredicateFactory.getPredicateSourcesMap(kiePMMLPredicate, packageName);
    commonVerifySourceMap(retrieved, packageName, getSanitizedClassName(kiePMMLPredicate.getId()), 1);
    kiePMMLPredicate = KiePMMLFalsePredicate.builder(Collections.emptyList()).build();
    retrieved = KiePMMLPredicateFactory.getPredicateSourcesMap(kiePMMLPredicate, packageName);
    commonVerifySourceMap(retrieved, packageName, getSanitizedClassName(kiePMMLPredicate.getId()), 1);
}