code: def test_apply_transform_error():
      flow = ApplyTransformFlow()
      npt.assert_raises(
          ValueError,
          flow.run,
          "my_fake_static.nii.gz",
          "my_fake_moving.nii.gz",
          "my_fake_map.nii.gz",
          transform_type="wrong_type",
      )
  
imports: from os.path import join
  import os.path
  from tempfile import TemporaryDirectory
  import numpy.testing
  import numpy
  import nibabel
  import pytest
  from dipy.utils.optpkg import optional_package
  from dipy.align.tests.test_imwarp import get_synthetic_warped_circle
  from dipy.align.tests.test_parzenhist import setup_random_transform
  from dipy.align.transforms import regtransforms
  from dipy.data import get_fnames
  from dipy.io.image import save_nifti, load_nifti_data
  from dipy.io.stateful_tractogram import Space, StatefulTractogram
  from dipy.io.streamline import load_tractogram, save_tractogram
  from dipy.tracking.streamline import Streamlines
  from dipy.workflows.align import ImageRegistrationFlow, SynRegistrationFlow, ApplyTransformFlow, ResliceFlow, SlrWithQbxFlow, MotionCorrectionFlow, BundleWarpFlow
  from dipy.testing.decorators import set_random_number_generator
label_desc: Use image node_id 4 for calling a global function with example usage: test_apply_transform_error() without return types