EncodedAnnotationHandler extends NoOpAnnotationHandler<Encoded> { @Override public void handleMethodAnnotation(Encoded annotation, MethodConfigBuilder 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 handleMethodAnnotationShouldSetParamsEncoded() throws Exception { toTest.handleMethodAnnotation(mockAnnotation, mockMethodConfigBuilder); verify(mockMethodConfigBuilder).setParamsEncoded(true); }
@Test public void handleMethodsAnnotationShouldSetParamsEncoded() throws Exception { toTest.handleMethodAnnotation(mockAnnotation, mockMethodConfigBuilder); verify(mockMethodConfigBuilder).setParamsEncoded(true); }