def METHOD_NAME(admin, fsAssetstore):
    c1 = Collection().createCollection(name='Coll1', creator=admin)
    c2 = Collection().createCollection(name='Coll2', creator=admin)
    f1 = Folder().createFolder(parent=c1, creator=admin, parentType='collection', name='Top level')
    f2 = Folder().createFolder(parent=f1, creator=admin, parentType='folder', name='Subfolder')
    i1 = Item().createItem(name='Item1', creator=admin, folder=f1)
    i2 = Item().createItem(name='Item10', creator=admin, folder=f2)
    file1 = File().createFile(
        name='File1', creator=admin, item=i1, size=1, assetstore=fsAssetstore, mimeType='text/csv')
    file2 = File().createFile(
        name='File2', creator=admin, item=i2, size=10, assetstore=fsAssetstore, mimeType='text/csv')
    yield Hierarchy(collections=(c1, c2), folders=(f1, f2), items=(i1, i2), files=(file1, file2))