code: def setUp(self):
      super().setUp()
      self._source_data_dir = os.path.join(
          os.path.dirname(os.path.dirname(__file__)), "testdata"
      )
      self._output_data_dir = os.path.join(
          os.environ.get(
              "TEST_UNDECLARED_OUTPUTS_DIR", self.get_temp_dir()
          ),
          self._testMethodName,
      )
      fileio.makedirs(self._output_data_dir)
      self._model_export = standard_artifacts.Model()
      self._model_export.uri = os.path.join(
          self._source_data_dir, "trainer/current"
      )
      self._model_blessing = standard_artifacts.ModelBlessing()
      self._input_dict = {
          standard_component_specs.MODEL_KEY: [self._model_export],
          standard_component_specs.MODEL_BLESSING_KEY: [
              self._model_blessing
          ],
      }
  
      self._model_push = standard_artifacts.PushedModel()
      self._model_push.uri = os.path.join(
          self._output_data_dir, "model_push"
      )
      fileio.makedirs(self._model_push.uri)
      self._output_dict = {
          standard_component_specs.PUSHED_MODEL_KEY: [self._model_push],
      }
      self._serving_model_dir = os.path.join(
          self._output_data_dir, "serving_model_dir"
      )
      fileio.makedirs(self._serving_model_dir)
      self._exec_properties = self._MakeExecProperties()
      self._executor = executor.Executor()
  
imports: import json
  import os
  import tensorflow
  from tfx.components.pusher import executor
  from tfx.dsl.io import fileio
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import io_utils
  from tfx.utils import path_utils
label_desc: Use image node_id 1 for calling the ExecutorTest obj's underlying member method code with example usage: obj.setUp() without return types