List<InterceptorConfiguration> interceptors = c.customInterceptors().interceptors();
InterceptorConfiguration interceptor = interceptors.get(0);
assertTrue(interceptor.interceptor() instanceof CustomInterceptor1);
assertEquals(InvocationContextInterceptor.class, interceptor.after());
interceptor = interceptors.get(1);
assertEquals(InvocationContextInterceptor.class, interceptor.before());
assertTrue(interceptor.interceptor() instanceof CustomInterceptor2);
interceptor = interceptors.get(2);
assertTrue(interceptor.interceptor() instanceof CustomInterceptor3);
assertEquals(1, interceptor.index());
interceptor = interceptors.get(3);