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;
assertPropertyExpression("left", leftCompare.getLeft(), "x");
assertPropertyExpression("right", rightCompare.getLeft(), "y");
}
}