WsConfigurationSupport { protected final EndpointInterceptor[] getInterceptors() { if (interceptors == null) { interceptors = new ArrayList<EndpointInterceptor>(); addInterceptors(interceptors); } return interceptors.toArray(new EndpointInterceptor[interceptors.size()]); }  @Bean PayloadRootAnnotationMethodEndpointMapping payloadRootAnnotationMethodEndpointMapping(); @Bean SoapActionAnnotationMethodEndpointMapping soapActionAnnotationMethodEndpointMapping(); @Bean AnnotationActionEndpointMapping annotationActionEndpointMapping(); @Bean DefaultMethodEndpointAdapter defaultMethodEndpointAdapter(); @Bean SoapFaultAnnotationExceptionResolver soapFaultAnnotationExceptionResolver(); @Bean SimpleSoapExceptionResolver simpleSoapExceptionResolver();  }
@Test public void interceptors() { PayloadRootAnnotationMethodEndpointMapping endpointMapping = this.applicationContext .getBean(PayloadRootAnnotationMethodEndpointMapping.class); assertEquals(0, endpointMapping.getOrder()); EndpointInterceptor[] interceptors = endpointMapping.getInterceptors(); assertEquals(1, interceptors.length); assertTrue(interceptors[0] instanceof MyInterceptor); }