@Test
public void handleMethodsAnnotationShouldSetEndPoint() throws Exception {

    when(mockAnnotation.value()).thenReturn("a");
    toTest.handleMethodAnnotation(mockAnnotation, mockMethodConfigBuilder);
    verify(mockAnnotation).value();
    verify(mockMethodConfigBuilder).setEndPoint("a");
}