code: def test_transform(self):
      trans = reverse_target.transform(
          absa_sample, n=1, field="sentence"
      )
      term_id = [idx for idx in data["term_list"]]
      for i, trans_sample in enumerate(trans):
          trans_data = trans_sample.dump()
          ori_polarity = data["term_list"][term_id[i]]["polarity"]
          ori_opinion_words = data["term_list"][term_id[i]][
              "opinion_words"
          ]
          trans_id = trans_data["trans_id"]
          trans_polarity = trans_data["term_list"][trans_id]["polarity"]
          trans_opinion_words = trans_data["term_list"][trans_id][
              "opinion_words"
          ]
          self.assertTrue(ori_polarity != trans_polarity)
          self.assertTrue(ori_opinion_words != trans_opinion_words)
  
imports: import unittest
  from textflint.generation.transformation.ABSA.rev_tgt import RevTgt
  from textflint.input.component.sample.absa_sample import ABSASample
label_desc: Use image node_id 1 for calling the TestRevTgt obj's underlying member method code with example usage: obj.test_transform() without return types