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