code: def testBuildLatestBlessedModelStrategySucceed(self):
      latest_blessed_resolver = resolver.Resolver(
          strategy_class=latest_blessed_model_strategy.LatestBlessedModelStrategy,
          model=channel.Channel(type=standard_artifacts.Model),
          model_blessing=channel.Channel(
              type=standard_artifacts.ModelBlessing
          ),
      ).with_id("my_resolver2")
      test_pipeline_info = data_types.PipelineInfo(
          pipeline_name="test-pipeline",
          pipeline_root="gs://path/to/my/root",
      )
  
      deployment_config = pipeline_pb2.PipelineDeploymentConfig()
      component_defs = {}
      my_builder = step_builder.StepBuilder(
          node=latest_blessed_resolver,
          deployment_config=deployment_config,
          pipeline_info=test_pipeline_info,
          component_defs=component_defs,
          dsl_context_reg=dsl_context_registry.get(),
      )
      actual_step_specs = my_builder.build()
  
      model_blessing_resolver_id = (
          "my_resolver2-model-blessing-resolver"
      )
      model_resolver_id = "my_resolver2-model-resolver"
      self.assertSameElements(
          actual_step_specs.keys(),
          [model_blessing_resolver_id, model_resolver_id],
      )
  
      self.assertProtoEquals(
          test_utils.get_proto_from_test_data(
              "expected_latest_blessed_model_resolver_component_1.pbtxt",
              pipeline_pb2.ComponentSpec(),
          ),
          component_defs[model_blessing_resolver_id],
      )
  
      self.assertProtoEquals(
          test_utils.get_proto_from_test_data(
              "expected_latest_blessed_model_resolver_task_1.pbtxt",
              pipeline_pb2.PipelineTaskSpec(),
          ),
          actual_step_specs[model_blessing_resolver_id],
      )
  
      self.assertProtoEquals(
          test_utils.get_proto_from_test_data(
              "expected_latest_blessed_model_resolver_component_2.pbtxt",
              pipeline_pb2.ComponentSpec(),
          ),
          component_defs[model_resolver_id],
      )
  
      self.assertProtoEquals(
          test_utils.get_proto_from_test_data(
              "expected_latest_blessed_model_resolver_task_2.pbtxt",
              pipeline_pb2.PipelineTaskSpec(),
          ),
          actual_step_specs[model_resolver_id],
      )
  
      self.assertProtoEquals(
          test_utils.get_proto_from_test_data(
              "expected_latest_blessed_model_resolver_executor.pbtxt",
              pipeline_pb2.PipelineDeploymentConfig(),
          ),
          deployment_config,
      )
  
imports: from typing import Any, Dict
  from kfp.pipeline_spec import pipeline_spec_pb2
  import tensorflow
  from tfx import components
  from tfx import v1
  from tfx.dsl.components.common import importer
  from tfx.dsl.components.common import resolver
  from tfx.dsl.context_managers import dsl_context_registry
  from tfx.dsl.experimental.conditionals import conditional
  from tfx.dsl.input_resolution.strategies import latest_artifact_strategy
  from tfx.dsl.input_resolution.strategies import latest_blessed_model_strategy
  from tfx.extensions.google_cloud_big_query.example_gen import component
  from tfx.orchestration import data_types
  from tfx.orchestration.kubeflow import decorators
  from tfx.orchestration.kubeflow.v2 import parameter_utils
  from tfx.orchestration.kubeflow.v2 import step_builder
  from tfx.orchestration.kubeflow.v2 import test_utils
  from tfx.proto import example_gen_pb2
  from tfx.types import channel
  from tfx.types import channel_utils
  from tfx.types import standard_artifacts
label_desc: Use image node_id 12 for calling the StepBuilderTest obj's underlying member method code with example usage: obj.testBuildLatestBlessedModelStrategySucceed() without return types