@Test public void handleInterfaceAnnotationShouldSetMethodsDeserializer() throws Exception { when(mockAnnotation.value()).thenReturn((Class)StringDeserializer.class); toTest.handleInterfaceAnnotation(mockAnnotation, mockInterfaceConfigBuilder); verify(mockAnnotation).value(); verify(mockInterfaceConfigBuilder).setMethodsDeserializer(StringDeserializer.class); }
@Override public void handleInterfaceAnnotation(Deserializer annotation, InterfaceConfigBuilder builder) throws Exception { builder.setMethodsDeserializer(annotation.value()); }
DeserializerAnnotationHandler extends NoOpAnnotationHandler<Deserializer> { @Override public void handleInterfaceAnnotation(Deserializer annotation, InterfaceConfigBuilder builder) throws Exception { builder.setMethodsDeserializer(annotation.value()); } }
DeserializerAnnotationHandler extends NoOpAnnotationHandler<Deserializer> { @Override public void handleInterfaceAnnotation(Deserializer annotation, InterfaceConfigBuilder builder) throws Exception { builder.setMethodsDeserializer(annotation.value()); }  }
DeserializerAnnotationHandler extends NoOpAnnotationHandler<Deserializer> { @Override public void handleInterfaceAnnotation(Deserializer annotation, InterfaceConfigBuilder builder) throws Exception { builder.setMethodsDeserializer(annotation.value()); }  @Override void handleInterfaceAnnotation(Deserializer annotation, InterfaceConfigBuilder builder); @Override void handleMethodAnnotation(Deserializer annotation, MethodConfigBuilder builder); }
DeserializerAnnotationHandler extends NoOpAnnotationHandler<Deserializer> { @Override public void handleInterfaceAnnotation(Deserializer annotation, InterfaceConfigBuilder builder) throws Exception { builder.setMethodsDeserializer(annotation.value()); }  @Override void handleInterfaceAnnotation(Deserializer annotation, InterfaceConfigBuilder builder); @Override void handleMethodAnnotation(Deserializer annotation, MethodConfigBuilder builder);  }