code: def test_load_sample(self):
      # test wrong data
      self.assertRaises(AssertionError, NERSample, {"x": "apple"})
      self.assertRaises(AssertionError, NERSample, {"y": "apple"})
      self.assertRaises(AssertionError, NERSample, {"x": ""})
      self.assertRaises(
          AssertionError,
          NERSample,
          {
              "x": [
                  "EU",
                  "rejects",
                  "German",
                  "call",
                  "to",
                  "boycott",
                  "British",
                  "lamb",
                  ".",
              ],
              "y": [
                  "E-ORG",
                  "O",
                  "B-MISC",
                  "O",
                  "O",
                  "O",
                  "B-MISC",
                  "O",
                  "O",
              ],
          },
      )
      self.assertRaises(
          AssertionError,
          NERSample,
          {"x": "the US", "y": ["I-LOC", "B-LOC"]},
      )
  
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 1 for calling the TestNERSample obj's underlying member method code with example usage: obj.test_load_sample() without return types