@Test
public void getConstraintEntriesFromXOrCompoundPredicate() {

    CompoundPredicate compoundPredicate = new CompoundPredicate();
    compoundPredicate.setBooleanOperator(CompoundPredicate.BooleanOperator.XOR);
    List<Predicate> predicates =
            IntStream.range(0, 2).mapToObj(index -> simplePredicates.get(index)).collect(Collectors.toList());
    compoundPredicate.getPredicates().addAll(predicates);
    List<KiePMMLFieldOperatorValue> retrieved = KiePMMLASTFactoryUtils
            .getConstraintEntriesFromXOrCompoundPredicate(compoundPredicate, fieldTypeMap);
    assertNotNull(retrieved);
    assertEquals(predicates.size(), retrieved.size());
    commonVerifyKiePMMLFieldOperatorValueList(retrieved, null);
}