code: def test_5d_resample(self):
      image = ImageFactory.create_instance(
          file_path=CASE_5D,
          name="5d_image",
          interp_order=1,
          output_pixdim=(4, 8, 6.0),
          output_axcodes=None,
          loader=None,
      )
      self.assertIsInstance(image, SpatialImage5D)
      output = image.get_data()
      self.assertAllClose(np.array([58, 35, 49, 1, 1]), output.shape)
      self.assertAllClose(np.array([58, 35, 49, 1, 1]), 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 11 for calling the ImageTypeTest obj's underlying member method code with example usage: obj.test_5d_resample() without return types