@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);
}