session = mock(MuleSession.class);
router = new ChainingRouter();
router.setMuleContext(muleContext);
DefaultOutboundRouterCollection messageRouter = new DefaultOutboundRouterCollection();
messageRouter.setCatchAllStrategy(new LoggingCatchAllStrategy());
OutboundEndpoint endpoint1 = getTestOutboundEndpoint("Test1Provider",
"test://test?exchangePattern=request-response");
assertNotNull(endpoint1);
mockEndpoint1 = RouterTestUtils.createMockEndpoint(endpoint1);