@Test public void handleInterfaceAnnotationShouldSetMethodsType() throws Exception { toTest.handleInterfaceAnnotation(mockAnnotation, mockInterfaceConfigBuilder); verify(mockInterfaceConfigBuilder).setMethodsType(MethodType.POST); }
@Override public void handleInterfaceAnnotation(POST annotation, InterfaceConfigBuilder builder) { builder.setMethodsType(MethodType.POST); }
POSTAnnotationHandler extends NoOpAnnotationHandler<POST> { @Override public void handleInterfaceAnnotation(POST annotation, InterfaceConfigBuilder builder) { builder.setMethodsType(MethodType.POST); } }
POSTAnnotationHandler extends NoOpAnnotationHandler<POST> { @Override public void handleInterfaceAnnotation(POST annotation, InterfaceConfigBuilder builder) { builder.setMethodsType(MethodType.POST); }  }
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); }
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);  }