def METHOD_NAME(config: Config, workspace: Workspace):
    index_file = workspace.root / f"{config.memory_index}.json"
    assert not index_file.exists()
    JSONFileMemory(config)
    assert index_file.exists()
    assert index_file.read_text() == "[]"