Object actual = e.evaluate(jc);
assertEquals(Boolean.FALSE, actual);
}
public void test_NEG2() throws Exception {
JexlContext jc = JexlHelper.createContext();
jc.getVars().put("A", Boolean.TRUE);
Expression e = ExpressionFactory.createExpression("!(A)");
Object actual = e.evaluate(jc);
assertEquals(Boolean.FALSE, actual);
}