code: def test_shape(self, in_type, input_param, expected_shape):
      test_data = {
          "image": in_type(np.random.randint(0, 2, size=[1, 2, 3, 4])),
          "label": in_type(np.random.randint(0, 2, size=[1, 2, 3, 4])),
          "extra": in_type(np.random.randint(0, 2, size=[1, 2, 3, 4])),
      }
      result = AsChannelLastd(**input_param)(test_data)
      self.assertTupleEqual(result["image"].shape, expected_shape)
      self.assertTupleEqual(result["label"].shape, expected_shape)
      self.assertTupleEqual(result["extra"].shape, expected_shape)
  
file_path: MONAI/tests/test_as_channel_lastd.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.transforms import AsChannelLastd
  from tests.utils import TEST_NDARRAYS
label_desc: Use image node_id 1 for calling the TestAsChannelLastd obj's underlying member method code with example usage: obj.test_shape(in_type, input_param, expected_shape) without return types