code: def test_get_words(self):
      # test get words
      self.assertEqual(data["x"], re_sample.get_words("x"))
      self.assertRaises(AssertionError, re_sample.get_words, "y")
  
file_path: textflint/test/input/component/sample/test_re_sample.py
imports: import unittest
  from textflint.input.component.sample.re_sample import RESample
  from textflint.common.preprocess.en_processor import EnProcessor
label_desc: Use image node_id 2 for calling the TestRESample obj's underlying member method code with example usage: obj.test_get_words() without return types