code: def test_load_sample(self):
      # test wrong data
      self.assertRaises(
          AssertionError, RESample, {"x": ["The", "situation"]}
      )
      self.assertRaises(
          AssertionError,
          RESample,
          {"x": ["The", "situation"], "subj": [0, 0], "obj": [0, 0]},
      )
      self.assertRaises(
          AssertionError,
          RESample,
          {"x": ["The", "situation"], "y": "None"},
      )
      self.assertRaises(AssertionError, RESample, {"x": ""})
      self.assertRaises(
          ValueError,
          RESample,
          {
              "x": ["The", "situation"],
              "subj": [2, 2],
              "obj": [0, 0],
              "y": "None",
          },
      )
      self.assertRaises(
          ValueError,
          RESample,
          {
              "x": ["The", "situation"],
              "subj": [1, 0],
              "obj": [0, 0],
              "y": "None",
          },
      )
      self.assertRaises(
          ValueError,
          RESample,
          {
              "x": ["The", "situation"],
              "subj": [],
              "obj": [1, 1],
              "y": "None",
          },
      )
      self.assertRaises(
          AssertionError,
          RESample,
          {
              "x": ["The", "situation"],
              "subj": [0, 0],
              "obj": [1, 1],
              "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 1 for calling the TestRESample obj's underlying member method code with example usage: obj.test_load_sample() without return types