code: def test_unfitted_masker(mini_mask):
      masker = SurfaceMasker(mini_mask)
      with pytest.raises(ValueError, match="fitted"):
          masker.transform(mini_mask)
  
file_path: nilearn/nilearn/experimental/surface/tests/test_maskers.py
imports: import numpy
  import pytest
  from nilearn.experimental.surface import SurfaceImage, SurfaceMasker
label_desc: Use image node_id 4 for calling a global function with example usage: test_unfitted_masker(mini_mask) without return types