{
OutboundEndpoint ep = muleContext.getEndpointFactory().getOutboundEndpoint(
"axis:http://www.muleumo.org/services/myService?method=myTestMethod");
AxisMessageDispatcher dispatcher = new AxisMessageDispatcher(ep);
dispatcher.service = new Service();
MuleEvent event = getTestEvent("testPayload");
// there should be no NullPointerException
Call call = dispatcher.getCall(event, new Object[]{null});
assertNotNull(call);
MuleMessage msg = event.getMessage();
assertNotNull(msg);
final Map soapMethods = msg.getOutboundProperty(AxisConnector.SOAP_METHODS);
assertEquals(1, soapMethods.size());
final List values = (List)soapMethods.get("myTestMethod");
assertNotNull(values);