def METHOD_NAME(exception_handler):
    # test that additional information is passed to the `report_callback`
    exception_handler.report_callback = MagicMock()
    exception_handler.sentry_reporter.additional_information['a'] = 1
    exception_handler.unhandled_error_observer(None, {})
    reported_error = exception_handler.report_callback.call_args_list[-1][0][0]
    assert reported_error.additional_information == {'a': 1}
    assert asdict(reported_error)  # default dict could produce TypeError: first argument must be callable or None