def METHOD_NAME(self, tmpdir, cycle, repo):
    repository = repo()
    repository.base_path = tmpdir
    for i in range(10):
        cycle.id = CycleId(f"cycle-{i}")
        cycle._name = f"cycle-{i}"
        repository._save(cycle)
    objs = repository._load_all(filters=[{"id": "cycle-2"}])
    assert len(objs) == 1