code: def test_multiple_3d_as_4d_resample_reorientation(self):
      with self.assertRaisesRegexp(ValueError, "concatenation"):
          image = ImageFactory.create_instance(
              file_path=(CASE_3D_a, CASE_3D_b),
              name=("3d_image_a", "3d_image_b"),
              interp_order=(3, 0),
              output_pixdim=((8.0, 6.0, 2.0), (7.0, 6.0, 10.0)),
              output_axcodes=(("A", "S", "L"), ("L", "S", "A")),
              loader=(None, None),
          )
          _ = image.get_data()
      image = ImageFactory.create_instance(
          file_path=(CASE_3D_a, CASE_3D_b),
          name=("3d_image_a", "3d_image_b"),
          interp_order=(3, 3),
          output_pixdim=((5, 2.0, 6), (5, 2.0, 6)),
          output_axcodes="ASL",
          loader=(None, None),
      )
      self.assertIsInstance(image, SpatialImage4D)
      output = image.get_data()
      self.assertAllClose(np.array([50, 125, 42, 1, 2]), output.shape)
      self.assertAllClose(np.array([50, 125, 42, 1, 2]), image.shape)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from niftynet.io.image_type import ImageFactory
  from niftynet.io.image_type import SpatialImage2D
  from niftynet.io.image_type import SpatialImage3D
  from niftynet.io.image_type import SpatialImage4D
  from niftynet.io.image_type import SpatialImage5D
  from niftynet.io.misc_io import set_logger
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 9 for calling the ImageTypeTest obj's underlying member method code with example usage: obj.test_multiple_3d_as_4d_resample_reorientation() without return types