code: def test_remove(tmp_path: Path) -> None:
      artifact_id = "dummy-uuid"
      dummy_content = b"Hello World"
      backend = FileSystemArtifactStore(tmp_path)
  
      backend.write(artifact_id, io.BytesIO(dummy_content))
      objects = list(tmp_path.glob("*"))
      assert (
          len([obj for obj in objects if obj.name == artifact_id]) == 1
      )
  
      backend.remove(artifact_id)
      objects = list(tmp_path.glob("*"))
      assert (
          len([obj for obj in objects if obj.name == artifact_id]) == 0
      )
  
file_path: optuna/tests/artifacts_tests/test_filesystem.py
imports: import io
  from pathlib import Path
  import pytest
  from optuna.artifacts import FileSystemArtifactStore
  from optuna.artifacts.exceptions import ArtifactNotFound
label_desc: Use image node_id 2 for calling a global function with example usage: test_remove(tmp_path) without return types