code: def test_load_sample(self):
      # test wrong data
      self.assertRaises(
          AssertionError, SMCNSample, {"sentence1": "我喜欢这本书。"}
      )
      self.assertRaises(
          AssertionError, SMCNSample, {"sentence2": "这本书是我讨厌的。"}
      )
      self.assertRaises(AssertionError, SMCNSample, {"x": "我喜欢这本书。"})
      self.assertRaises(
          AssertionError, SMCNSample, {"y": "contradiction"}
      )
      self.assertRaises(
          AssertionError,
          SMCNSample,
          {"sentence1": 11, "sentence2": 22, "y": "1"},
      )
      self.assertRaises(
          AssertionError,
          SMCNSample,
          {"sentence1": [], "sentence2": [], "y": "0"},
      )
      self.assertRaises(
          AssertionError, SMCNSample, {"sentence1": "", "sentence2": ""}
      )
      self.assertRaises(
          ValueError,
          SMCNSample,
          {"sentence1": "我喜欢这本书。", "sentence2": "这本书是我讨厌的。", "y": 1},
      )
  
imports: import unittest
  from textflint.input.component.sample.smcn_sample import *
label_desc: Use image node_id 1 for calling the TestSMSample obj's underlying member method code with example usage: obj.test_load_sample() without return types