HEADAnnotationHandler extends NoOpAnnotationHandler<HEAD> { @Override public void handleInterfaceAnnotation(HEAD annotation, InterfaceConfigBuilder builder) { builder.setMethodsType(MethodType.HEAD); }  @Override void handleInterfaceAnnotation(HEAD annotation, InterfaceConfigBuilder builder); @Override void handleMethodAnnotation(HEAD annotation, MethodConfigBuilder builder);  }
@Test public void handleInterfaceAnnotationShouldSetMethodsType() throws Exception { toTest.handleInterfaceAnnotation(mockAnnotation, mockInterfaceConfigBuilder); verify(mockInterfaceConfigBuilder).setMethodsType(MethodType.HEAD); }