@Test
public void setTrueFalsePredicateConstructor() {

    init(KIE_PMML_TRUE_PREDICATE_TEMPLATE_JAVA, KIE_PMML_TRUE_PREDICATE_TEMPLATE);
    String generatedClassName = "GENERATEDCLASSNAME";
    String predicateName = "PREDICATENAME";
    KiePMMLPredicateFactory.setTrueFalsePredicateConstructor(generatedClassName,
                                                             predicateName,
                                                             constructorDeclaration);
    Map<Integer, Expression> superInvocationExpressionsMap = new HashMap<>();
    superInvocationExpressionsMap.put(0, new NameExpr(String.format("\"%s\"", predicateName)));
    Map<String, Expression> assignExpressionMap = new HashMap<>();
    assertTrue(commonEvaluateConstructor(constructorDeclaration, generatedClassName, superInvocationExpressionsMap,
                              assignExpressionMap));
}