def METHOD_NAME(self, tmpdir, data_node, repo):
    repository = repo()
    repository.base_path = tmpdir
    for i in range(10):
        data_node.id = DataNodeId(f"data_node-{i}")
        repository._save(data_node)
    data_nodes = repository._load_all()
    assert len(data_nodes) == 10