@Test public void testEvaluate() { String expression = "This is an expression"; Attribute attribute = new Attribute(null, Expression.createExpression( expression, null), null, (String) null); Object result = evaluator.evaluate(attribute, null); assertEquals("The expression has not been evaluated correctly", result, expression); expression = "${attributeName}"; attribute.setExpressionObject(new Expression(expression)); result = evaluator.evaluate(attribute, null); assertEquals("The expression has not been evaluated correctly", result, expression); }
public Object evaluate(String expression, Request request) { return expression; }
DirectAttributeEvaluator extends AbstractAttributeEvaluator { public Object evaluate(String expression, Request request) { return expression; } }
DirectAttributeEvaluator extends AbstractAttributeEvaluator { public Object evaluate(String expression, Request request) { return expression; }  }
DirectAttributeEvaluator extends AbstractAttributeEvaluator { public Object evaluate(String expression, Request request) { return expression; }  Object evaluate(String expression, Request request); }
DirectAttributeEvaluator extends AbstractAttributeEvaluator { public Object evaluate(String expression, Request request) { return expression; }  Object evaluate(String expression, Request request);  }