code: def test_init(self, check_state):
      model = MC(self.variables, self.card, self.start_state)
      self.assertListEqual(model.variables, self.variables)
      self.assertDictEqual(model.cardinalities, self.cardinalities)
      self.assertDictEqual(
          model.transition_models, {var: {} for var in self.variables}
      )
      check_state.assert_called_once_with(model, self.start_state)
      self.assertListEqual(model.state, self.start_state)
  
imports: import sys
  import unittest
  import numpy
  from mock import call, patch
  from pandas import DataFrame
  from pgmpy.factors.discrete import State
  from pgmpy.models import MarkovChain
label_desc: Use image node_id 3 for calling the TestMarkovChain obj's underlying member method code with example usage: obj.test_init(check_state) without return types