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);
assertNotNull(resultEvent.getMessage().getPayload());
Object payload = resultEvent.getMessage().getPayload();
assertFalse(payload.getClass().isArray());