### Question:
SerializerAnnotationHandler extends NoOpAnnotationHandler<Serializer> { @Override public void handleParameterAnnotation(Serializer annotation, ParamConfigBuilder builder) throws InvocationTargetException, NoSuchMethodException, IllegalAccessException, InstantiationException { builder.setSerializer(annotation.value()); }  @Override void handleInterfaceAnnotation(Serializer annotation, InterfaceConfigBuilder builder); @Override void handleMethodAnnotation(Serializer annotation, MethodConfigBuilder builder); @Override void handleParameterAnnotation(Serializer annotation, ParamConfigBuilder builder);  }### Answer:
@Test public void handleParametersAnnotationShouldSetSerializer() throws Exception { when(mockAnnotation.value()).thenReturn((Class)ToStringSerializer.class); toTest.handleParameterAnnotation(mockAnnotation, mockParamConfigBuilder); verify(mockAnnotation).value(); verify(mockParamConfigBuilder).setSerializer(ToStringSerializer.class); }