code: def test_func_exception(self):
      with self.assertRaises(OptionalImportError):
  
          @require_pkg(pkg_name="test123")
          def test_func(x):
              return x
  
          test_func(x=None)
  
file_path: MONAI/tests/test_require_pkg.py
imports: from __future__ import annotations
  import unittest
  from monai.utils import OptionalImportError, min_version, require_pkg
label_desc: Use image node_id 6 for calling the TestRequirePkg obj's underlying member method code with example usage: obj.test_func_exception() and returns: x