assertTrue(list.contains("mar"));
}
public void testTransformerConfigWithSingleArgumentShortcutConfigInFlow() throws Exception
{
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);
assertNotNull(resultEvent.getMessage().getPayload());
Object payload = resultEvent.getMessage().getPayload();
assertFalse(payload.getClass().isArray());