code: def test_result(self, args, input_data, expected_shape):
      res = Restored(**args)(input_data)
      self.assertEqual(res["pred"].shape, expected_shape)
  
imports: import os
  import tempfile
  import unittest
  import numpy
  from parameterized import parameterized
  from monailabel.transform.post import BoundingBoxd, DumpImagePrediction2Dd, ExtremePointsd, FindContoursd, LargestCCd, MergeAllPreds, RenameKeyd, Restored
label_desc: Use image node_id 1 for calling the TestRestored obj's underlying member method code with example usage: obj.test_result(args, input_data, expected_shape) without return types