code: def setUp(self):
      net = """
          /// Bayesian Network in the Hugin (.net) Format
          /// Produced by Genie Software
          /// Output Created Oct 26 15:50:51 2022
              net
              {
                  node_size = (76 36);
              }
  
              node VisitToAsia
              {
                  label = "Visit To Asia?";
                  position = (94 246);
                  states = ("NoVisit"  "Visit");
              }
  
              node Tuberculosis
              {
                  label = "Tuberculosis?";
                  position = (94 155);
                  states = ("Absent"  "Present");
              }
  
              node Smoking
              {
                  label = "Smoking?";
                  position = (310 246);
                  states = ("NonSmoker"  "Smoker");
              }
  
              node LungCancer
              {
                  label = "Lung Cancer?";
                  position = (241 155);
                  states = ("Absent"  "Present");
              }
  
              node TbOrCa
              {
                  label = "Tuberculosis or Lung Cancer?";
                  position = (181 67);
                  states = ("Nothing"  "CancerORTuberculosis");
              }
  
              node XRay
              {
                  label = "X-Ray Result";
                  position = (94 -18);
                  states = ("Normal"  "Abnormal");
              }
  
              node Bronchitis
              {
                  label = "Bronchitis?";
                  position = (393 155);
                  states = ("Absent"  "Present");
              }
  
              node Dyspnea
              {
                  label = "Dyspnea?";
                  position = (310 -18);
                  states = ("Absent"  "Present");
              }
  
              potential (VisitToAsia |)
              {
                  data = (0.99000000 0.01000000);
              }
  
              potential (Tuberculosis | VisitToAsia)
              {
                  data = ((0.99000000 0.01000000)
                      (0.95000000 0.05000000));
              }
  
              potential (Smoking |)
              {
                  data = (0.50000000 0.50000000);
              }
  
              potential (LungCancer | Smoking)
              {
                  data = ((0.99000000 0.01000000)
                      (0.90000000 0.10000000));
              }
  
              potential (TbOrCa | Tuberculosis LungCancer)
              {
                  data = (((1.00000000 0.00000000)
                      (0.00000000 1.00000000))
                      ((0.00000000 1.00000000)
                      (0.00000000 1.00000000)));
              }
  
              potential (XRay | TbOrCa)
              {
                  data = ((0.95000000 0.05000000)
                      (0.02000000 0.98000000));
              }
  
              potential (Bronchitis | Smoking)
              {
                  data = ((0.70000000 0.30000000)
                      (0.40000000 0.60000000));
              }
  
              potential (Dyspnea | TbOrCa Bronchitis)
              {
                  data = (((0.90000000 0.10000000)
                      (0.20000000 0.80000000))
                      ((0.30000000 0.70000000)
                      (0.10000000 0.90000000)));
              }
              """
      self.reader = NETReader(string=net)
  
imports: import unittest
  import numpy
  from pgmpy import config
  from pgmpy.readwrite import NETReader, NETWriter
  from pgmpy.utils import compat_fns, get_example_model
label_desc: Use image node_id 1 for calling the TestNETReader obj's underlying member method code with example usage: obj.setUp() without return types