async def METHOD_NAME():
    async with AsyncClient() as client:
        # test by id
        response = await client.get(f"{TRUST_REGISTRY_URL}/registry/actors/{actor_id}")
        assert response.status_code == 200
        assert response.json() == new_actor
        not_actor_response = await client.get(
            f"{TRUST_REGISTRY_URL}/registry/actors/not_a_actor"
        )
        assert not_actor_response.status_code == 404
        # test by did
        response = await client.get(
            f"{TRUST_REGISTRY_URL}/registry/actors/did/{actor_did}"
        )
        assert response.status_code == 200
        assert response.json() == new_actor
        not_actor_response = await client.get(
            f"{TRUST_REGISTRY_URL}/registry/actors/did/not_a_actor"
        )
        assert not_actor_response.status_code == 404
        # test by name
        response = await client.get(
            f"{TRUST_REGISTRY_URL}/registry/actors/name/{actor_name}"
        )
        assert response.status_code == 200
        assert response.json() == new_actor
        not_actor_response = await client.get(
            f"{TRUST_REGISTRY_URL}/registry/actors/name/not_a_actor"
        )
        assert not_actor_response.status_code == 404