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