public Predicate getPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column) {
Predicate result = null;
switch (operator) {
case EQUAL:
result = new EqualsTestPredicate(leftFunction, operator, rightFunction, line, column);
break;
case NOT_EQUAL:
result = new NotEqualsTestPredicate(leftFunction, operator, rightFunction, line, column);
break;
case LESS_THAN: