@Test
public void handleMethodAnnotationShouldSetMethodsConsumesWithGivenValue() throws Exception {

    when(mockAnnotation.value()).thenReturn(new String[]{"a","b"});
    toTest.handleMethodAnnotation(mockAnnotation,mockMethodConfigBuilder);
    verify(mockMethodConfigBuilder).setConsumes("a", "b");
    verify(mockAnnotation).value();
}