Flow flow = (Flow) muleContext.getRegistry().lookupFlowConstruct("et");
Map<String, Object> props = new HashMap<String, Object>();
props.put("foo", "moo");
props.put("bar", "mar");
MuleMessage message = new DefaultMuleMessage(new FruitBowl(new Apple(), new Banana()), props,
muleContext);
MuleEvent resultEvent = flow.process(new DefaultMuleEvent(message, getTestInboundEndpoint(""),
getTestSession(getTestService(), muleContext)));
assertNotNull(resultEvent);