EncodedAnnotationHandler extends NoOpAnnotationHandler<Encoded> { @Override public void handleInterfaceAnnotation(Encoded annotation, InterfaceConfigBuilder builder) { builder.setParamsEncoded(true); }  @Override void handleInterfaceAnnotation(Encoded annotation, InterfaceConfigBuilder builder); @Override void handleMethodAnnotation(Encoded annotation, MethodConfigBuilder builder); @Override void handleParameterAnnotation(Encoded annotation, ParamConfigBuilder builder);  }
@Test public void handleInterfaceAnnotationShouldSetParamsEncoded() throws Exception { toTest.handleInterfaceAnnotation(mockAnnotation, mockInterfaceConfigBuilder); verify(mockInterfaceConfigBuilder).setParamsEncoded(true); }