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