code: def test_transformation(self):
      trans_samples = swap_ins.transform(data_sample, n=5)
      self.assertEqual(5, len(trans_samples))
      for sample in trans_samples:
          self.assertEqual([2, 2, 2, 2, 0], sample.mask)
          self.assertEqual(
              ["B", "E", "B", "E", "S"], sample.get_value("y")
          )
          self.assertTrue(
              sample.get_value("x")[:2]
              in swap_ins.synonym_dict[sent1[:2]]
          )
          self.assertTrue(
              sample.get_value("x")[2:4]
              in swap_ins.synonym_dict[sent1[2:4]]
          )
  
imports: import unittest
  from textflint.generation.transformation.CWS.swap_syn import SwapSyn
  from textflint.input.component.sample.cws_sample import CWSSample
label_desc: Use image node_id 1 for calling the TestSwapSyn obj's underlying member method code with example usage: obj.test_transformation() without return types