async def METHOD_NAME(spawn_auth_client):
    client = await spawn_auth_client()
    await client.add(
        SpaceMembership("ryanf", 2, SpaceRole.MEMBER),
        SpaceMembership("ryanf", 1, SpaceRole.MEMBER),
        SpaceMembership("ryanf", 0, SpaceRole.MEMBER),
    )
    assert await client.list_user_spaces("ryanf") == [0, 1, 2]