code: def testReloadWith1Thread(self):
      patcher = tf.compat.v1.test.mock.patch(
          "threading.Thread.start", autospec=True
      )
      start_mock = patcher.start()
      self.addCleanup(patcher.stop)
      patcher = tf.compat.v1.test.mock.patch.object(
          queue.Queue, "join", autospec=True
      )
      join_mock = patcher.start()
      self.addCleanup(patcher.stop)
  
      x = event_multiplexer.EventMultiplexer(max_reload_threads=1)
      x.AddRun("run1")
      x.AddRun("run2")
      x.AddRun("run3")
      x.Reload()
  
      # The multiplexer should have started no new threads.
      self.assertEqual(0, start_mock.call_count)
      self.assertEqual(0, join_mock.call_count)
  
imports: import os
  import os.path
  import queue
  import shutil
  import tensorflow
  from tensorboard.backend.event_processing import plugin_event_accumulator
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.util import test_util
label_desc: Use image node_id 21 for calling the EventMultiplexerTest obj's underlying member method code with example usage: obj.testReloadWith1Thread() without return types