def METHOD_NAME(monkeypatch, mock_provider):
    monkeypatch.setenv("LEXICON_FAKEPROVIDER_AUTH_KEY", "MY_KEY")
    options = {
        "provider_name": "fakeprovider",
        "action": "list",
        "domain": "example.com",
        "type": "TXT",
    }
    with pytest.deprecated_call():
        client = lexicon.client.Client(options)
    assert client.provider_name == options["provider_name"]
    assert client.config.resolve("lexicon:action") == options["action"]
    assert client.config.resolve("lexicon:domain") == options["domain"]
    assert client.config.resolve("lexicon:type") == options["type"]
    assert client.config.resolve("lexicon:fakeprovider:auth_key") == "MY_KEY"