code: def test_load_sample(self):
      # test wrong data
      self.assertRaises(
          AssertionError,
          NLISample,
          {"hypothesis": "MR zhang has 10 students ."},
      )
      self.assertRaises(
          AssertionError,
          NLISample,
          {"premise": "Mr zhang has 20 students ."},
      )
      self.assertRaises(
          AssertionError, NLISample, {"x": "MR zhang has 10 students ."}
      )
      self.assertRaises(
          AssertionError, NLISample, {"y": "contradiction"}
      )
      self.assertRaises(
          AssertionError,
          NLISample,
          {"hypothesis": 11, "premise": 22, "y": "contradiciton"},
      )
      self.assertRaises(
          AssertionError, NLISample, {"hypothesis": "", "premise": ""}
      )
      self.assertRaises(
          AssertionError,
          NLISample,
          {"hypothesis": [], "premise": "haha", "y": "contradiciton"},
      )
      self.assertRaises(
          ValueError,
          NLISample,
          {
              "hypothesis": "MR zhang has 10 students .",
              "premise": "Mr zhang has 20 students .",
              "y": 1,
          },
      )
  
file_path: textflint/test/input/component/sample/test_nli_sample.py
imports: import unittest
  from textflint.input.component.sample.nli_sample import *
label_desc: Use image node_id 1 for calling the TestNLISample obj's underlying member method code with example usage: obj.test_load_sample() without return types