public class JexlConditionTests extends AbstractConditionTests<JexlCondition> {
@Test
public void create() {
try {
new JexlCondition(null);
fail();
} catch (IllegalArgumentException e) {
assertThat(e, exception("missing condition expression"));
}
condition = new JexlCondition("1==2");
assertEquals("1==2", condition.getExpression());
}