code: def test_component(self, test_input, output_type):
      locator = ComponentLocator(excludes=["metrics"])
      configer = ConfigComponent(
          id="test", config=test_input, locator=locator
      )
      ret = configer.instantiate()
      if test_input.get("_disabled_", False):
          # test `_disabled_` works fine
          self.assertEqual(ret, None)
          return
      self.assertTrue(isinstance(ret, output_type))
      if isinstance(ret, LoadImaged):
          self.assertEqual(ret.keys[0], "image")
  
imports: from __future__ import annotations
  import unittest
  from functools import partial
  from typing import Callable
  import torch
  from parameterized import parameterized
  import monai
  from monai.bundle import ComponentLocator, ConfigComponent, ConfigExpression, ConfigItem
  from monai.data import DataLoader, Dataset
  from monai.transforms import LoadImaged, RandTorchVisiond
  from monai.utils import min_version, optional_import
label_desc: Use image node_id 2 for calling the TestConfigItem obj's underlying member method code with example usage: obj.test_component(test_input, output_type) without return types