def METHOD_NAME(plex, show):
    episodes = show.episodes()
    pq = plex.createPlayQueue(episodes[:3])
    assert len(pq) == 3, "PlayQueue does not contain 3 items."
    # Test move PlayQueue using library items
    pq.moveItem(episodes[1], after=episodes[2])
    assert pq.items[0].ratingKey == episodes[0].ratingKey, "Items not in proper order."
    assert pq.items[2].ratingKey == episodes[1].ratingKey, "Items not in proper order."
    assert pq.items[1].ratingKey == episodes[2].ratingKey, "Items not in proper order."
    # Test too many matching library items
    pq.addItem(episodes[0])
    pq.addItem(episodes[0])
    with pytest.raises(BadRequest):
        pq.moveItem(episodes[2], after=episodes[0])
    # Test items not in PlayQueue
    with pytest.raises(BadRequest):
        pq.moveItem(episodes[9], after=episodes[0])
    with pytest.raises(BadRequest):
        pq.removeItem(episodes[9])