code: def _verify_outputs(self, trainer):
      self.assertEqual(
          standard_artifacts.Model.TYPE_NAME,
          trainer.outputs[standard_component_specs.MODEL_KEY].type_name,
      )
      self.assertEqual(
          standard_artifacts.ModelRun.TYPE_NAME,
          trainer.outputs[
              standard_component_specs.MODEL_RUN_KEY
          ].type_name,
      )
  
imports: import tensorflow
  from tfx.components.trainer import component
  from tfx.components.trainer import executor
  from tfx.dsl.components.base import executor_spec
  from tfx.orchestration import data_types
  from tfx.proto import trainer_pb2
  from tfx.types import channel_utils
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
label_desc: Use image node_id 2 for calling the ComponentTest obj's underlying member method code with example usage: obj._verify_outputs(trainer) without return types