code: def test_write_and_load_dict_via_jsonpickle(
      tmp_path: Path,
      input: Dict,
      kwargs: Dict[Text, bool],
      expected: Dict,
  ):
      file_name = tmp_path / "bla.pkl"
      rasa.utils.io.json_pickle(
          file_name=file_name, obj=input, **kwargs
      )
      loaded = rasa.utils.io.json_unpickle(
          file_name=file_name, **kwargs
      )
      assert loaded == expected
  
file_path: rasa/tests/utils/test_io.py
imports: from pathlib import Path
  from typing import Dict, Text
  import pytest
  from _pytest.tmpdir import TempPathFactory
  from prompt_toolkit.document import Document
  from prompt_toolkit.validation import ValidationError
  import rasa.shared.utils.io
  import rasa.utils.io
label_desc: Use image node_id 6 for calling a global function with example usage: test_write_and_load_dict_via_jsonpickle(tmp_path, input, kwargs, expected) without return types