code: def test_dsa_result(self, args, input_data):
      input_data.update({"output": "dsa"})
      output_file, data = PolygonWriter(**args)(input_data)
      self.assertEqual(os.path.exists(output_file), True)
      file_ext = "".join(
          pathlib.Path(input_data["image_path"]).suffixes
      )
      self.assertIn(file_ext.lower(), [".nii", ".nii.gz"])
      file_ext = "".join(pathlib.Path(output_file).suffixes)
      self.assertIn(file_ext.lower(), [".json"])
  
      with open(output_file) as f:
          data = json.load(f)
          self.assertEqual(len(data["elements"][0]["points"]), 16)
          self.assertEqual(
              data["elements"][0]["label"]["value"], "Inflammatory"
          )
  
imports: import json
  import os
  import pathlib
  import unittest
  import nrrd
  import numpy
  import torch
  from parameterized import parameterized
  from monailabel.transform.writer import DetectionWriter, PolygonWriter, Writer
label_desc: Use image node_id 2 for calling the TestPolygonWriter obj's underlying member method code with example usage: obj.test_dsa_result(args, input_data) without return types