code: def test_get_words(self):
      # test get words
      self.assertEqual(word, sample.get_words("x"))
      self.assertRaises(AttributeError, sample.get_words, "word")
      self.assertRaises(AssertionError, sample.get_words, "postag")
  
file_path: textflint/test/input/component/sample/test_dp_sample.py
imports: import unittest
  from textflint.input.component.sample.dp_sample import *
label_desc: Use image node_id 2 for calling the TestDPSample obj's underlying member method code with example usage: obj.test_get_words() without return types