def METHOD_NAME(self, tmpdir, data_node, repo):
    repository = repo()
    repository.base_path = tmpdir
    repository._save(data_node)
    assert repository._exists(data_node.id)
    assert not repository._exists("not-existed-data-node")