code: def test_circular_references(self):
      locator = ComponentLocator()
      resolver = ReferenceResolver()
      configs = {"A": "@B", "B": "@C", "C": "@A"}
      for k, v in configs.items():
          resolver.add_item(
              ConfigComponent(config=v, id=k, locator=locator)
          )
      for k in ["A", "B", "C"]:
          with self.assertRaises(ValueError):
              resolver.get_resolved_content(k)
  
file_path: MONAI/tests/test_reference_resolver.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  import monai
  from monai.bundle.config_item import ComponentLocator, ConfigComponent, ConfigExpression, ConfigItem
  from monai.bundle.reference_resolver import ReferenceResolver
  from monai.data import DataLoader
  from monai.transforms import LoadImaged, RandTorchVisiond
  from monai.utils import min_version, optional_import
label_desc: Use image node_id 2 for calling the TestReferenceResolver obj's underlying member method code with example usage: obj.test_circular_references() without return types