DefaultLocalMuleClient client = new DefaultLocalMuleClient(muleContext);
HashMap<String, Object> props = new HashMap<String,Object>();
props.put("username", "ross");
props.put("password", "ross");
MuleMessage result = client.send(endpoint, "hi", props);
assertNull(result.getExceptionPayload());
props.put("password", "badpass");
try
{