def METHOD_NAME(server, admin, hierarchy):
    assertNodeSize(hierarchy.items[0], Item, 1)
    assertNodeSize(hierarchy.items[1], Item, 10)
    assertNodeSize(hierarchy.folders[0], Folder, 1)
    assertNodeSize(hierarchy.folders[1], Folder, 10)
    assertNodeSize(hierarchy.collections[0], Collection, 11)
    resp = server.request(
        path='/item/%s' % hierarchy.items[0]['_id'], method='PUT',
        user=admin, params={
            'folderId': hierarchy.folders[1]['_id']
        })
    assertStatusOk(resp)
    assertNodeSize(hierarchy.items[0], Item, 1)
    assertNodeSize(hierarchy.items[1], Item, 10)
    assertNodeSize(hierarchy.folders[0], Folder, 0)
    assertNodeSize(hierarchy.folders[1], Folder, 11)
    assertNodeSize(hierarchy.collections[0], Collection, 11)