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