code: def setUp(self):
      string = """MARKOV
  3
  2 2 3
  2
  2 0 1
  3 0 1 2
  
  4
   4.000 2.400
   1.000 0.000
  
  12
   2.2500 3.2500 3.7500
   0.0000 0.0000 10.0000
   1.8750 4.0000 3.3330
   2.0000 2.0000 3.4000"""
  
      string_with_comment = """MARKOV
  3
  2 2 3
  2 # comment
  2 0 1
  3 0 1 2
  # comment
  4
   4.000 2.400
   1.000 0.000
  
  12 #another comment
   2.2500 3.2500 3.7500
   0.0000 0.0000 10.0000
   1.8750 4.0000 3.3330
   2.0000 2.0000 3.4000"""
      self.maxDiff = None
      self.reader_string = UAIReader(string=string)
      self.reader_string_with_comment = UAIReader(
          string=string_with_comment
      )
      self.reader_file = UAIReader(
          "pgmpy/tests/test_readwrite/testdata/grid4x4.uai"
      )
  
imports: import unittest
  import networkx
  import numpy
  from pgmpy import config
  from pgmpy.factors.discrete import DiscreteFactor, TabularCPD
  from pgmpy.models import BayesianNetwork, MarkovNetwork
  from pgmpy.readwrite import UAIReader, UAIWriter
label_desc: Use image node_id 1 for calling the TestUAIReader obj's underlying member method code with example usage: obj.setUp() without return types