code: def setUp(self):
      super().setUp()
      example_gen = csv_example_gen_component.CsvExampleGen(
          input_base="data_input"
      )
      statistics_gen = statistics_gen_component.StatisticsGen(
          examples=example_gen.outputs["examples"]
      ).with_id("foo")
  
      pipeline = tfx_pipeline.Pipeline(
          pipeline_name=self._test_pipeline_name,
          pipeline_root="test_pipeline_root",
          metadata_connection_config=metadata_store_pb2.ConnectionConfig(),
          components=[example_gen, statistics_gen],
      )
  
      test_pipeline_root = dsl.PipelineParam(name="pipeline-root-param")
  
      self._metadata_config = kubeflow_pb2.KubeflowMetadataConfig()
      self._metadata_config.mysql_db_service_host.environment_variable = (
          "MYSQL_SERVICE_HOST"
      )
      self._tfx_ir = pipeline_pb2.Pipeline()
      with dsl.Pipeline("test_pipeline"):
          self.component = base_component.BaseComponent(
              component=statistics_gen,
              depends_on=set(),
              pipeline=pipeline,
              pipeline_root=test_pipeline_root,
              tfx_image="container_image",
              kubeflow_metadata_config=self._metadata_config,
              tfx_ir=self._tfx_ir,
              pod_labels_to_attach={},
              runtime_parameters=[],
          )
      self.tfx_component = statistics_gen
  
imports: import json
  from absl import logging
  from kfp import dsl
  import tensorflow
  from tfx.components.example_gen.csv_example_gen import component
  from tfx.components.statistics_gen import component
  from tfx.orchestration import data_types
  from tfx.orchestration import pipeline
  from tfx.orchestration.kubeflow import base_component
  from tfx.orchestration.kubeflow.proto import kubeflow_pb2
  from tfx.proto.orchestration import pipeline_pb2
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 1 for calling the BaseComponentTest obj's underlying member method code with example usage: obj.setUp() without return types