PUTAnnotationHandler extends NoOpAnnotationHandler<PUT> { @Override public void handleMethodAnnotation(PUT annotation, MethodConfigBuilder builder) { builder.setType(MethodType.PUT); }  @Override void handleMethodAnnotation(PUT annotation, MethodConfigBuilder builder);  }
@Test public void handleMethodAnnotationShouldSetMethodTypeToPUT() throws Exception { toTest.handleMethodAnnotation(mockAnnotation, mockMethodConfigBuilder); verify(mockMethodConfigBuilder).setType(MethodType.PUT); }