175176177178179180181182183184185186187188189
return spec; } public void testIsConstantFail() { ExpressionEvaluator ee = create(); try { ee.isConstant("@foo@BAR"); unreachable(); } catch (ApplicationRuntimeException ex) { assertExceptionSubstring(ex, "Error evaluating OGNL expression");