### Question:
WebConfiguration implements WebMvcConfigurer { @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(new AuditHandlerInterceptor(auditSanitized)); }  @Override void addInterceptors(InterceptorRegistry registry);  }### Answer:
@Test void addInterceptors() { TestInterceptorRegistry registry = new TestInterceptorRegistry(); new WebConfiguration() { @Override public void addInterceptors(InterceptorRegistry interceptorRegistry) { super.addInterceptors(interceptorRegistry); } }.addInterceptors(registry); assertThat(registry.interceptors()).hasSize(1); assertThat(registry.interceptors().get(0)).isExactlyInstanceOf(AuditHandlerInterceptor.class); }