code: def test_load_sample(self):
      # test wrong data
      self.assertRaises(AssertionError, NMTSample, {"source": "movie"})
      self.assertRaises(AssertionError, NMTSample, {"target": "movie"})
      self.assertRaises(AssertionError, NMTSample, {"source": ""})
      self.assertRaises(
          AssertionError, NMTSample, {"source": "movie", "target": 5}
      )
      self.assertRaises(
          AssertionError, NMTSample, {"source": [], "target": []}
      )
      self.assertRaises(
          AssertionError, NMTSample, {"source": "the US", "target": []}
      )
      self.assertRaises(
          ValueError, NMTSample, {"source": "the US", "target": ""}
      )
      self.assertRaises(
          ValueError, NMTSample, {"source": "", "target": ""}
      )
  
file_path: textflint/test/input/component/sample/test_nmt_sample.py
imports: import unittest
  from textflint.input.component.sample.nmt_sample import *
label_desc: Use image node_id 1 for calling the TestNMTSample obj's underlying member method code with example usage: obj.test_load_sample() without return types