protected void doTest(MuleClient client, final String url, final String contextPath, final String requestPath) throws Exception
{
FunctionalTestComponent testComponent = (FunctionalTestComponent) getComponent(contextPath);
assertNotNull(testComponent);
EventCallback callback = new EventCallback()
{
public void eventReceived(final MuleEventContext context, final Object component) throws Exception
{
MuleMessage msg = context.getMessage();
assertEquals(requestPath, msg.getInboundProperty(HttpConnector.HTTP_REQUEST_PROPERTY));