public void testRegistryLookupWithProperties() throws Exception
{
MuleMessage message = new DefaultMuleMessage(new Apple(), muleContext);
RegistryExpressionEvaluator eval = new RegistryExpressionEvaluator();
eval.setMuleContext(muleContext);
Object o = eval.evaluate("bowlToBasket.returnClass", message);
assertNotNull(o);
assertTrue(o instanceof Class);
assertEquals(FruitBasket.class, o);
o = eval.evaluate("XXbowlToBasket*.returnClass", message);