code: def test_wildreceipt_dumper(self):
      task, split = "kie", "train"
      fake_data = ["test1", "test2"]
  
      dumper = WildreceiptOpensetDumper(task, split, self.root.name)
      dumper.dump(fake_data)
      with open(
          osp.join(self.root.name, f"openset_{split}.txt"), "r"
      ) as f:
          data = f.read().splitlines()
      self.assertEqual(data, fake_data)
  
file_path: mmocr/tests/test_datasets/test_preparers/test_dumpers/test_dumpers.py
imports: import json
  import os.path
  import tempfile
  import unittest
  from mmocr.datasets.preparers.dumpers import JsonDumper, WildreceiptOpensetDumper
label_desc: Use image node_id 3 for calling the TestDumpers obj's underlying member method code with example usage: obj.test_wildreceipt_dumper() without return types