code: def test_transformation(self):
      sent1 = "The quick brown fox jumps over the lazy dog ."
      data_sample = SASample({"x": sent1, "y": "negative"})
      swap_ins = ReverseNeg()
      x = swap_ins.transform(data_sample, n=1)
      x = x[0]
      self.assertEqual(
          "The quick brown fox does not jumps over the lazy " "dog.",
          x.get_text("x"),
      )
      self.assertEqual("negative", x.get_value("y"))
  
      # test special input
      special_sample = SASample({"x": "", "y": "negative"})
      swap_ins.transform(special_sample)
      self.assertEqual([], swap_ins.transform(special_sample))
      special_sample = SASample(
          {"x": "~!@#$%^7890\"'", "y": "negative"}
      )
      self.assertEqual([], swap_ins.transform(special_sample))
  
imports: import unittest
  from textflint.input.component.sample import SASample
  from textflint.generation.transformation.UT.reverse_neg import ReverseNeg
label_desc: Use image node_id 1 for calling the TestAddAdverb obj's underlying member method code with example usage: obj.test_transformation() without return types