@Test
public void testImpliesOrParenPredicate() throws ParseException {
String string = "(c IMPLIES b) OR a";
FPLParser parser = new FPLParser(string, null, null);
Predicate pred = parser.expression();
Assert.assertTrue("Parsed predicate should be a ImpliesPredicate, but is " + pred.getClass().getCanonicalName(), pred instanceof OrPredicate);
OrPredicate val = (OrPredicate)pred;
Assert.assertTrue("Left side is a implies pred", val.getLeft() instanceof ImpliesPredicate);
Assert.assertTrue("Right side is a bool value", val.getRight() instanceof BooleanValue);