@Test
public void handleMethodsAnnotationShouldSetRetryHandler() throws Exception {

    when(mockAnnotation.value()).thenReturn((Class)MaxAttemptRetryHandler.class);
    toTest.handleMethodAnnotation(mockAnnotation, mockMethodConfigBuilder);
    verify(mockAnnotation).value();
    verify(mockMethodConfigBuilder).setRetryHandler(MaxAttemptRetryHandler.class);
}