async def METHOD_NAME():
    def get_query(pipeline_request):
        assert urlparse(pipeline_request.http_request.url).query.lower() == "foo=bar"
        raise ValueError("Passed!")
    client = get_client(callback=get_query)
    query_keys = ["foo", "Foo", "FOO", "fOo"]
    for query_key in query_keys:
        with pytest.raises(ValueError) as ex:
            await client.basic.get_empty(params={query_key: "bar"})
        assert str(ex.value) == "Passed!"
    await client.close()