def METHOD_NAME():
    task_queue = TaskQueue()
    uids = [
        "abc",
        "def",
        "xyz",
    ]
    random.shuffle(uids)
    for uid in uids:
        for priority in [3, 2, 1]:
            task_queue.put(priority, uid)
    for priority in [1, 2, 3]:
        for uid in uids:
            assert task_queue.get() == (priority, uid)