code: def test_exceptions(self):
      self.assertRaises(
          ValueError,
          NoisyOrModel,
          np.array(["x1", "x2", "x3"]),
          [2, 2, 2],
          [[0.1, 0.2], [1.0, 0.3], [1.2, 0.1]],
      )
      self.assertRaises(
          ValueError,
          NoisyOrModel,
          np.array(["x1", "x2", "x3"]),
          [2, 4],
          [[0.1, 0.2], [0.1, 0.4, 0.2, 0.6]],
      )
      self.assertRaises(
          ValueError,
          NoisyOrModel,
          np.array(["x1", "x2", "x3"]),
          [2, 3, 2, 3],
          [[0.1, 0.2], [0.6, 0.3, 0.5], [0.3, 0.2], [0.1, 0.4, 0.3]],
      )
      self.assertRaises(
          ValueError,
          NoisyOrModel,
          np.array(["x1", "x2", "x3"]),
          [2, 3, 2],
          [[0.1, 0.2, 0.4], [0.4, 0.1, 0.5], [0.6, 0.1, 0.7]],
      )
      self.assertRaises(
          ValueError,
          NoisyOrModel,
          np.array(["x1", "x2", "x3"]),
          [2, 2, 2],
          [[0.1, 0.1], [0.1, 0.1]],
      )
  
file_path: pgmpy/pgmpy/tests/test_models/test_NoisyOrModels.py
imports: import unittest
  import numpy
  import numpy.testing
  from pgmpy.models import NoisyOrModel
label_desc: Use image node_id 2 for calling the TestNoisyOrModelInit obj's underlying member method code with example usage: obj.test_exceptions() without return types