code: def test_init(self, input_params, expected_str):
      eo = ExchangeObject(**input_params)
      self.assertIsInstance(eo, ExchangeObject)
      eo.summary()
      self.assertEqual(repr(eo), expected_str)
  
file_path: MONAI/tests/test_fl_exchange_object.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.fl.utils.constants import WeightType
  from monai.fl.utils.exchange_object import ExchangeObject
  from monai.utils.module import optional_import
  from tests.utils import SkipIfNoModule
label_desc: Use image node_id 1 for calling the TestFLExchangeObject obj's underlying member method code with example usage: obj.test_init(input_params, expected_str) without return types