preRouteMessage.invoke(work, new Object[] { message });
}
private MockHttpsMessageReceiver setupMockHttpsMessageReceiver() throws CreateException
{
HttpsConnector httpsConnector = new HttpsConnector(muleContext);
httpsConnector.setSslHandshakeTimeout(1000);
Map properties = Collections.emptyMap();
Mock mockEndpoint = new Mock(InboundEndpoint.class);
mockEndpoint.expectAndReturn("getConnector", httpsConnector);