@Test
public void handleInterfaceAnnotationShouldSetMethodsErrorHandler() throws Exception {

    when(mockAnnotation.value()).thenReturn((Class) ErrorDelegatorHandler.class);
    toTest.handleInterfaceAnnotation(mockAnnotation, mockInterfaceConfigBuilder);
    verify(mockAnnotation).value();
    verify(mockInterfaceConfigBuilder).setMethodsErrorHandler(ErrorDelegatorHandler.class);
}