def METHOD_NAME(server, admin, hierarchy):
    assertNodeSize(hierarchy.collections[0], Collection, 11)
    assertNodeSize(hierarchy.collections[1], Collection, 0)
    resp = server.request(
        path='/folder/%s' % hierarchy.folders[0]['_id'], method='PUT',
        user=admin, params={
            'parentId': hierarchy.collections[1]['_id'],
            'parentType': 'collection'
        })
    assertStatusOk(resp)
    assertNodeSize(hierarchy.collections[0], Collection, 0)
    assertNodeSize(hierarchy.collections[1], Collection, 11)