### Question:
EndpointInterceptorClientAdapter implements ClientInterceptor { public boolean handleRequest(MessageContext messageContext) throws WebServiceClientException { try { return interceptor.handleRequest(messageContext, null); } catch (Exception e) { throw new ServerSideInterceptorWebServiceClientException(e); } } EndpointInterceptorClientAdapter(EndpointInterceptor interceptor); static ClientInterceptor[] wrapEndpointInterceptors(EndpointInterceptor[] endpointInterceptors); boolean handleFault(MessageContext messageContext); void afterCompletion(MessageContext messageContext, Exception ex); boolean handleRequest(MessageContext messageContext); boolean handleResponse(MessageContext messageContext);  }### Answer:
@Test public void testWrapperHandleRequest() throws Exception { MessageContext messageContext = createMock(MessageContext.class); EndpointInterceptor interceptor = createMock(EndpointInterceptor.class); expect(interceptor.handleRequest(messageContext, null)).andReturn(true); replay(interceptor); EndpointInterceptorClientAdapter adapter = new EndpointInterceptorClientAdapter(interceptor); adapter.handleRequest(messageContext); verify(interceptor); }