props.put("bar", "mar");
MuleMessage message = new DefaultMuleMessage(new FruitBowl(new Apple(), new Banana()), props,
muleContext);
MuleEvent resultEvent = flow.process(new DefaultMuleEvent(message, getTestInboundEndpoint(""),
getTestService(), getTestSession(null, muleContext)));
assertNotNull(resultEvent);
assertNotNull(resultEvent.getMessage().getPayload());
Object payload = resultEvent.getMessage().getPayload();
assertFalse(payload.getClass().isArray());