public void testWithExpressions()
{
Apple apple = new Apple();
apple.wash();
Banana banana = new Banana();
banana.bite();
FruitBowl payload = new FruitBowl(apple, banana);
DefaultMuleMessage msg = new DefaultMuleMessage(payload, muleContext);
GroovyExpressionEvaluator e = new GroovyExpressionEvaluator();
e.setMuleContext(muleContext);
Object value = e.evaluate("payload.apple.washed", msg);