EndpointInvocationChain chain =
new EndpointInvocationChain(endpoint, new EndpointInterceptor[]{interceptorMock1, interceptorMock2});
expect(mappingMock.getEndpoint(messageContext)).andReturn(chain);
expect(factoryMock.createWebServiceMessage()).andReturn(new MockWebServiceMessage());
replay(mappingMock, interceptorMock1, interceptorMock2, adapterMock, factoryMock);
// response required for interceptor invocation
messageContext.getResponse();