code: def setUp(self):
      super().setUp()
  
      base_dir = os.path.join(
          os.path.dirname(  # components/
              os.path.dirname(  # infra_validator/
                  os.path.dirname(__file__)
              )
          ),  # model_server_runners/
          "testdata",
      )
      self._model = standard_artifacts.Model()
      self._model.uri = os.path.join(base_dir, "trainer", "current")
      self._model_name = "chicago-taxi"
      self._model_path = path_utils.serving_model_path(self._model.uri)
  
      # Mock docker.DockerClient
      patcher = mock.patch("docker.DockerClient")
      self._docker_client = patcher.start().return_value
      self.addCleanup(patcher.stop)
  
      self._serving_spec = _create_serving_spec(
          {
              "tensorflow_serving": {"tags": ["1.15.0"]},
              "local_docker": {},
              "model_name": self._model_name,
          }
      )
      self._serving_binary = serving_bins.parse_serving_binaries(
          self._serving_spec
      )[0]
      patcher = mock.patch.object(self._serving_binary, "MakeClient")
      self._model_server_client = patcher.start().return_value
      self.addCleanup(patcher.stop)
  
imports: import os
  from typing import Any, Dict
  from unittest import mock
  from docker import errors
  import tensorflow
  from tfx.components.infra_validator import error_types
  from tfx.components.infra_validator import serving_bins
  from tfx.components.infra_validator.model_server_runners import local_docker_runner
  from tfx.proto import infra_validator_pb2
  from tfx.types import standard_artifacts
  from tfx.utils import path_utils
  from google.protobuf import json_format
label_desc: Use image node_id 1 for calling the LocalDockerRunnerTest obj's underlying member method code with example usage: obj.setUp() without return types