String value = values[i];
System.out.println("Parsing: " + value);
Filter filter = parse(value);
assertTrue("Created ExpressionFilter filter", filter instanceof ExpressionFilter);
Expression andExpression = ((ExpressionFilter) filter).getExpression();
assertTrue("Created LogicExpression expression", andExpression instanceof LogicExpression);
LogicExpression logicExpression = (LogicExpression) andExpression;
Expression left = logicExpression.getLeft();
Expression right = logicExpression.getRight();
assertTrue("Left is a binary filter", left instanceof ComparisonExpression);
assertTrue("Right is a binary filter", right instanceof ComparisonExpression);
ComparisonExpression leftCompare = (ComparisonExpression) left;
ComparisonExpression rightCompare = (ComparisonExpression) right;