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