code: def setUp(self):
      super().setUp()
      self._base_dir = os.path.join(self.get_temp_dir(), "base_dir")
      self.src_uri = os.path.join(self._base_dir, "input")
      self.dest_uri = os.path.join(self._base_dir, "output")
      fileio.makedirs(self.src_uri)
      # Writing a string to test.txt file in src_uri
      self.content = "pipeline recorded"
      io_utils.write_string_file(
          os.path.join(self.src_uri, "test.txt"), self.content
      )
      # Placeholders for record_pipeline(...) arguments
      self.metadata_db_uri = "metadata_db_uri"
      self.host = "localhost"
      self.port = 1234
      self.pipeline_name = "pipeline_name"
      self.run_id = "run_id"
      # Return values for mocked get_paths(...)
      self.paths = [[self.src_uri, self.dest_uri]]
      # Return values for mocked get_execution_dict(...)
      self.execution_dict = {self.run_id: []}
  
file_path: tfx/tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py
imports: import os
  from unittest import mock
  import tensorflow
  from tfx.dsl.io import fileio
  from tfx.experimental.pipeline_testing import pipeline_recorder_utils
  from tfx.utils import io_utils
label_desc: Use image node_id 1 for calling the PipelineRecorderUtilsTest obj's underlying member method code with example usage: obj.setUp() without return types