code: def test_get_text(self):
      # test get text
      self.assertEqual(
          "EU rejects German call to boycott " "British lamb.",
          ner_sample.get_text("text"),
      )
      self.assertRaises(AssertionError, ner_sample.get_text, "tags")
  
file_path: textflint/test/input/component/sample/test_ner_sample.py
imports: import unittest
  from textflint.input.component.sample.ner_sample import *
label_desc: Use image node_id 10 for calling the TestNERSample obj's underlying member method code with example usage: obj.test_get_text() without return types