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