@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);
}