def METHOD_NAME(self, parent):
    admin = User().findOne({'login': 'admin'})
    folder = Folder().findOne({'name': 'folder1', 'parentId': parent['_id']})
    self.assertDictContains({
        'creatorId': admin['_id']
    }, folder, 'folder1')
    item = Item().findOne(
        {'name': 'emptyfile.txt', 'folderId': folder['_id']})
    self.assertDictContains({
        'creatorId': admin['_id']
    }, item, 'emptyfile')
    file = File().findOne({'itemId': item['_id']})
    self.assertEqual(file['name'], 'emptyfile.txt')
    item = Item().findOne(
        {'name': 'file.txt', 'folderId': folder['_id']})
    self.assertDictContains({
        'creatorId': admin['_id']
    }, item, 'emptyfile')
    file = File().findOne({'itemId': item['_id']})
    self.assertDictContains({
        'name': 'file.txt',
        'mimeType': 'text/plain',
        'size': 5
    }, file, 'file.txt')
    folder = Folder().findOne({'name': 'folder2', 'parentId': folder['_id']})
    self.assertDictContains({
        'creatorId': admin['_id']
    }, folder, 'folder2')
    item = Item().findOne({'name': 'icon.png', 'folderId': folder['_id']})
    self.assertDictContains({
        'creatorId': admin['_id']
    }, item, 'icon.png')
    file = File().findOne({'itemId': item['_id']})
    self.assertDictContains({
        'name': 'icon.png',
        'mimeType': 'image/png',
        'size': 1494
    }, file, 'icon.png')