code: def test_bad_params(
      self, init_param, img: torch.Tensor, affine: torch.Tensor
  ):
      img = MetaTensor(img, affine=affine)
      with self.assertRaises(ValueError):
          Orientation(**init_param)(img)
  
file_path: MONAI/tests/test_orientation.py
imports: from __future__ import annotations
  import unittest
  import nibabel
  import numpy
  import torch
  from parameterized import parameterized
  from monai.data.meta_obj import set_track_meta
  from monai.data.meta_tensor import MetaTensor
  from monai.transforms import Orientation, create_rotate, create_translate
  from tests.lazy_transforms_utils import test_resampler_lazy
  from tests.utils import TEST_DEVICES, assert_allclose
label_desc: Use image node_id 3 for calling the TestOrientationCase obj's underlying member method code with example usage: obj.test_bad_params(init_param, img, affine) without return types