code: def test_dict_out(self):
      def foo(a):
          return {"a": a * 2}
  
      d = {"a": 2}
      dres = adaptor(foo, {"a": "a"})(d)
      self.assertEqual(dres["a"], 4)
  
      d = {"b": 2}
      dres = adaptor(foo, {"a": "b"}, {"b": "a"})(d)
      self.assertEqual(dres["b"], 4)
  
file_path: MONAI/tests/test_adaptors.py
imports: from __future__ import annotations
  import itertools
  import unittest
  from monai.transforms.adaptors import FunctionSignature, adaptor, apply_alias, to_kwargs
label_desc: Use image node_id 6 for calling the TestAdaptors obj's underlying member method code with example usage: obj.test_dict_out() and returns: dict