@Test(expected = KiePMMLException.class)
public void getConstraintEntriesFromXOrCompoundPredicateWrongSize() {

    CompoundPredicate compoundPredicate = new CompoundPredicate();
    compoundPredicate.setBooleanOperator(CompoundPredicate.BooleanOperator.XOR);
    compoundPredicate.getPredicates().addAll(simplePredicates);
    KiePMMLASTFactoryUtils.getConstraintEntriesFromXOrCompoundPredicate(compoundPredicate, fieldTypeMap);
}