code: def test_value(self, input_args, input_data, expected_indices):
      result = ClassesToIndicesd(**input_args)(input_data)
      key_postfix = input_args.get("indices_postfix")
      key_postfix = (
          "_cls_indices" if key_postfix is None else key_postfix
      )
      for i, e in zip(result["label" + key_postfix], expected_indices):
          assert_allclose(i, e)
  
file_path: MONAI/tests/test_classes_to_indicesd.py
imports: from __future__ import annotations
  import unittest
  from parameterized import parameterized
  from monai.transforms import ClassesToIndicesd
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 1 for calling the TestClassesToIndicesd obj's underlying member method code with example usage: obj.test_value(input_args, input_data, expected_indices) without return types