async def METHOD_NAME():
    class Foo:
        ...
    gid = relay.GlobalID(type_name="FruitAsync", node_id="1")
    fruit = await gid.resolve_node(fake_info, ensure_type=Union[FruitAsync, Foo])
    assert_type(fruit, Union[FruitAsync, Foo])
    assert isinstance(fruit, FruitAsync)
    assert fruit.id == 1
    assert fruit.name == "Banana"