@Test
public void testAnd3ParenPredicate() throws ParseException {
String string = "a AND (b AND (c AND d))";
FPLParser parser = new FPLParser(string, null, null);
Predicate pred = parser.expression();
Assert.assertTrue("Parsed predicate should be a AndPredicate, but is " + pred.getClass().getCanonicalName(), pred instanceof AndPredicate);
AndPredicate val = (AndPredicate)pred;
Assert.assertTrue("Left side is a bool value", val.getLeft() instanceof BooleanValue);