def METHOD_NAME(tmpdir, monkeypatch):
    config = Config(
        environ={"APP_DEBUG": "value", "ENVIRONMENT": "dev"}, env_prefix="APP_"
    )
    assert config.get("DEBUG") == "value"
    with pytest.raises(KeyError):
        config.get("ENVIRONMENT")