def METHOD_NAME(
    self, monkeypatch
):
    monkeypatch.delenv("OPENASSETIO_DEFAULT_CONFIG", raising=False)
    result = execute_cli()
    expected_message = [
        "ERROR: No default manager configured, "
        f"check ${ManagerFactory.kDefaultManagerConfigEnvVarName}"
    ]
    assert result.stderr.splitlines() == expected_message
    assert result.returncode == 1