I'm working on an ESB API handler. Inside the handler I call the 'sendBack'
method of AxisEngine.

In the test case, it gives a NPE since the mock message context doesn't
have sufficient info for the sendBack method.

Is there any standard way of creating a mock message context which wouldn't
fail during the message processing/sending ?

Thanks
Rushmin

-- 
*Rushmin Fernando*
*Technical Lead*

WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware

email : [email protected]
mobile : +94772310855
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to