code: def setUp(self):
      super().setUp()
      self._mock_metadata = tf.compat.v1.test.mock.Mock()
      self._mock_metadata.publish_execution = (
          tf.compat.v1.test.mock.Mock()
      )
      self._output_dict = {
          "output_data": [_OutputType()],
      }
      self._exec_properties = {"k": "v"}
      self._pipeline_info = data_types.PipelineInfo(
          pipeline_name="my_pipeline",
          pipeline_root="/tmp",
          run_id="my_run_id",
      )
      self._component_info = data_types.ComponentInfo(
          component_type="a.b.c",
          component_id="my_component",
          pipeline_info=self._pipeline_info,
      )
  
file_path: tfx/tfx/orchestration/publisher_test.py
imports: import tensorflow
  from tfx import types
  from tfx import version
  from tfx.orchestration import data_types
  from tfx.orchestration import publisher
label_desc: Use image node_id 1 for calling the PublisherTest obj's underlying member method code with example usage: obj.setUp() without return types