code: def test_load_sample(self):
      # test wrong data
      self.assertRaises(AssertionError, WSCSample, {"text": "the city"})
      self.assertRaises(AssertionError, WSCSample, {"target": "noun"})
      self.assertRaises(AssertionError, WSCSample, {"text": ""})
      self.assertRaises(
          AssertionError,
          WSCSample,
          {
              "text": "The city councilmen refused "
              "the demonstrators a permit because"
              " they feared violence.",
              "target": {
                  "noun1": "The city councilmen",
                  "noun2": "The demonstrators",
              },
          },
      )
      self.assertRaises(
          AssertionError,
          WSCSample,
          {
              "text": "The city councilmen refused "
              "the demonstrators a permit because"
              " they feared violence.",
              "target": {
                  "noun1": "The city councilmen",
                  "noun2": "The demonstrators",
                  "noun1_idx": 0,
                  "noun2_idx": 4,
                  "pron": "they",
                  "pron_idx": 9,
              },
              "label": "A",
              "index": 0,
          },
      )
      self.assertRaises(
          ValueError,
          WSCSample,
          {
              "text": "The city councilmen refused "
              "the demonstrators a permit because"
              " they feared violence.",
              "target": {
                  "noun1": "The city councilmen",
                  "noun2": "The demonstrators",
                  "noun1_idx": -1,
                  "noun2_idx": 80,
                  "pron": "they",
                  "pron_idx": 9,
              },
              "label": 0,
              "index": 0,
          },
      )
  
file_path: textflint/test/input/component/sample/test_wsc_sample.py
imports: import unittest
  from textflint.input.component.sample.wsc_sample import *
label_desc: Use image node_id 1 for calling the TestWSCSample obj's underlying member method code with example usage: obj.test_load_sample() without return types