def METHOD_NAME(self, mock_entry_points):
    class ZeroDivisionErrorHandler(ErrorHandler, ZeroDivisionError):
        # pylint: disable=arguments-differ
        _handle = Mock()
    class AssertionErrorHandler(ErrorHandler, AssertionError):
        # pylint: disable=arguments-differ
        _handle = Mock()
    mock_entry_point_zero_division_error_handler = Mock()
    mock_entry_point_zero_division_error_handler.configure_mock(
        **{"load.return_value": ZeroDivisionErrorHandler}
    )
    mock_entry_point_assertion_error_handler = Mock()
    mock_entry_point_assertion_error_handler.configure_mock(
        **{"load.return_value": AssertionErrorHandler}
    )
    mock_entry_points.configure_mock(
        **{
            "return_value": [
                mock_entry_point_zero_division_error_handler,
                mock_entry_point_assertion_error_handler,
            ]
        }
    )
    error = ZeroDivisionError()
    with GlobalErrorHandler():
        raise error
    # pylint: disable=protected-access
    ZeroDivisionErrorHandler._handle.assert_called_with(error)
    error = AssertionError()
    with GlobalErrorHandler():
        raise error
    AssertionErrorHandler._handle.assert_called_with(error)