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