def METHOD_NAME(tmp_path: Path):
    file = tmp_path / "my-study/lazy.txt"
    file.parent.mkdir()
    file.touch()
    resolver = Mock()
    resolver.resolve.return_value = "Lazy"
    config = FileStudyTreeConfig(study_path=file, path=file, version=-1, study_id="")
    context = ContextServer(matrix=Mock(), resolver=resolver)
    node = MockLazyNode(context=context, config=config)
    uri = f"matrix://id"
    node.save(uri)
    assert (file.parent / f"{file.name}.link").read_text() == uri
    assert not file.exists()
    resolver.resolve.assert_called_once_with(uri)