@Test
public void testConfigureMessageEndpoint() throws Exception {
reset(webServiceServer);
expect(webServiceServer.getInterceptors()).andReturn(null).once();
expect(webServiceServer.getEndpointAdapter()).andReturn(new TimeoutProducingEndpointAdapter()).once();
expect(webServiceServer.getMessageConverter()).andReturn(new WsAddressingMessageConverter(new WsAddressingHeaders())).once();
expect(webServiceServer.isHandleMimeHeaders()).andReturn(true).once();
expect(webServiceServer.getSoapHeaderNamespace()).andReturn("http://citrusframework.org").times(2);
expect(webServiceServer.getSoapHeaderPrefix()).andReturn("CITRUS").times(2);