### Question:
TraceeCxfFeature extends AbstractFeature { @Override protected void initializeProvider(InterceptorProvider provider, Bus bus) { final TraceeRequestInInterceptor requestInInterceptor = new TraceeRequestInInterceptor(backend, profile); final TraceeResponseInInterceptor responseInInterceptor = new TraceeResponseInInterceptor(backend, profile); final TraceeRequestOutInterceptor requestOutInterceptor = new TraceeRequestOutInterceptor(backend, profile); final TraceeResponseOutInterceptor responseOutInterceptor = new TraceeResponseOutInterceptor(backend, profile); provider.getInInterceptors().add(requestInInterceptor); provider.getInInterceptors().add(responseInInterceptor); provider.getOutInterceptors().add(requestOutInterceptor); provider.getOutInterceptors().add(responseOutInterceptor); provider.getOutFaultInterceptors().add(responseOutInterceptor); provider.getInFaultInterceptors().add(requestInInterceptor); } TraceeCxfFeature();   TraceeCxfFeature(TraceeBackend backend, String profile);  TraceeCxfFeature(String profile);   }### Answer:
@Test public void shouldAddInInterceptorToDefaultMessage() { new TraceeCxfFeature(backend, Profile.DEFAULT).initializeProvider(interceptorProvider, bus); verify(interceptorProvider, times(2)).getInInterceptors(); }
@Test public void shouldAddInFaultInterceptorToDefaultMessage() { new TraceeCxfFeature(backend, Profile.DEFAULT).initializeProvider(interceptorProvider, bus); verify(interceptorProvider, times(1)).getInFaultInterceptors(); }
@Test public void shouldAddOutInterceptorToDefaultMessage() { new TraceeCxfFeature(backend, Profile.DEFAULT).initializeProvider(interceptorProvider, bus); verify(interceptorProvider, times(2)).getOutInterceptors(); }
@Test public void shouldAddOutFaultInterceptorToDefaultMessage() { new TraceeCxfFeature(backend, Profile.DEFAULT).initializeProvider(interceptorProvider, bus); verify(interceptorProvider, times(1)).getOutFaultInterceptors(); }