@Test
public void handleParameterAnnotationShouldFillNameWithAnnotationValue() throws Exception {

    when(mockAnnotation.value()).thenReturn("a");
    when(mockParamConfigBuilder.setType(COOKIE)).thenReturn(mockParamConfigBuilder);
    when(mockParamConfigBuilder.setName("a")).thenReturn(mockParamConfigBuilder);
    toTest.handleParameterAnnotation(mockAnnotation, mockParamConfigBuilder);
    verify(mockAnnotation).value();
    verify(mockParamConfigBuilder).setType(COOKIE);
    verify(mockParamConfigBuilder).setName("a");
}