code: def test_get_typo_method(self):
      self.assertTrue(
          swap_ins._get_typo_method() in [replace, swap, insert, delete]
      )
      swap_ins.mode = "replace"
      self.assertTrue(swap_ins._get_typo_method() == replace)
      swap_ins.mode = "swap"
      self.assertTrue(swap_ins._get_typo_method() == swap)
      swap_ins.mode = "insert"
      self.assertTrue(swap_ins._get_typo_method() == insert)
      swap_ins.mode = "delete"
      self.assertTrue(swap_ins._get_typo_method() == delete)
  
file_path: textflint/test/generation/transformation/NER/test_ent_typos.py
imports: import unittest
  import editdistance
  from textflint.input.component.sample.ner_sample import NERSample
  from textflint.generation.transformation.NER.ent_typos import EntTypos
  from textflint.common.utils.word_op import *
label_desc: Use image node_id 2 for calling the TestSpecialEntityTyposSwap obj's underlying member method code with example usage: obj.test_get_typo_method() without return types