### Question:
HeaderParamsAnnotationHandler extends NoOpAnnotationHandler<HeaderParams> { @Override public void handleInterfaceAnnotation(HeaderParams annotation, InterfaceConfigBuilder builder) { for(HeaderParam paramAnnotation : annotation.value()){ handler.handleInterfaceAnnotation(paramAnnotation, builder); } } HeaderParamsAnnotationHandler(HeaderParamAnnotationHandler handler);  HeaderParamsAnnotationHandler(CRestConfig crestConfig); @Override void handleInterfaceAnnotation(HeaderParams annotation, InterfaceConfigBuilder builder); @Override void handleMethodAnnotation(HeaderParams annotation, MethodConfigBuilder builder);  }### Answer:
@Test public void handleInterfaceAnnotationShouldDelegateToInnerHandlerForEachAnnotations() throws Exception { when(mockAnnotation.value()).thenReturn(mockAnnotations); toTest.handleInterfaceAnnotation(mockAnnotation, mockInterfaceConfigBuilder); verify(mockHeaderParamAnnotationHandler).handleInterfaceAnnotation(mockAnnotations[0], mockInterfaceConfigBuilder); verify(mockHeaderParamAnnotationHandler).handleInterfaceAnnotation(mockAnnotations[1], mockInterfaceConfigBuilder); verify(mockAnnotation).value(); }