class_docstr: Helper methods for inputs_utils_test.
code: def fake_execute(
      self, metadata_handle, pipeline_node, input_map, output_map
  ):
      contexts = context_lib.prepare_contexts(
          metadata_handle, pipeline_node.contexts
      )
      execution = execution_publish_utils.register_execution(
          metadata_handle,
          pipeline_node.node_info.type,
          contexts,
          input_map,
      )
      (
          output_dict,
          _,
      ) = execution_publish_utils.publish_succeeded_execution(
          metadata_handle, execution.id, contexts, output_map
      )
      return output_dict
  
imports: import collections
  import os
  import tensorflow
  from tfx import types
  from tfx.dsl.compiler import placeholder_utils
  from tfx.orchestration import metadata
  from tfx.orchestration.portable import data_types
  from tfx.orchestration.portable import execution_publish_utils
  from tfx.orchestration.portable import inputs_utils
  from tfx.orchestration.portable.input_resolution import exceptions
  from tfx.orchestration.portable.mlmd import context_lib
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.utils import test_case_utils
  from google.protobuf import text_format
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 7 for calling the _TestMixin obj's underlying member method code with example usage: obj.fake_execute(metadata_handle, pipeline_node, input_map, output_map) and returns: output_dict