def METHOD_NAME(
    auth1: t.Union[t.Tuple[str, str], Auth, None],
    auth2: t.Union[t.Tuple[str, str], Auth, None],
    error: Neo4jError,
    mocker
) -> None:
    def return_value_generator(auth):
        return auth
    _test_manager(
        auth1, auth2, return_value_generator, basic_auth_manager, error,
        CODES_HANDLED_BY_BASIC_MANAGER, mocker
    )