async def METHOD_NAME(instrumented_app, elasticapm_client):
    async with async_asgi_testclient.TestClient(instrumented_app) as client:
        resp = await client.get("/")
        assert resp.status_code == 200
        assert resp.text == "OK"
    assert len(elasticapm_client.events[constants.TRANSACTION]) == 1
    assert len(elasticapm_client.events[constants.SPAN]) == 1
    transaction = elasticapm_client.events[constants.TRANSACTION][0]
    span = elasticapm_client.events[constants.SPAN][0]
    assert transaction["name"] == "GET unknown route"
    assert transaction["result"] == "HTTP 2xx"
    assert transaction["outcome"] == "success"
    assert transaction["context"]["request"]["url"]["full"] == "/"
    assert transaction["context"]["response"]["status_code"] == 200
    assert span["name"] == "sleep"
    assert span["outcome"] == "success"
    assert span["sync"] == False