code: def test_generate_resolved_info(self):
      otu.fake_example_gen_run(
          self._mlmd_connection, self._example_gen, 2, 1
      )
      resolved_info = task_gen_utils.generate_resolved_info(
          self._mlmd_connection_manager,
          node_proto_view.get_view(self._transform),
          self._pipeline,
      )
      self.assertCountEqual(
          ["my_pipeline", "my_pipeline.my_transform"],
          [c.name for c in resolved_info.contexts],
      )
      self.assertLen(
          resolved_info.input_and_params[0].input_artifacts["examples"],
          1,
      )
      self.assertProtoPartiallyEquals(
          f"""
          id: 1
          uri: "my_examples_uri"
          custom_properties {{
            key: "span"
            value {{
              int_value: 2
            }}
          }}
          custom_properties {{
            key: '{artifact_utils.ARTIFACT_TFX_VERSION_CUSTOM_PROPERTY_KEY}'
            value {{string_value: "{version.__version__}"}}
          }}
          custom_properties {{
            key: "version"
            value {{
              int_value: 1
            }}
          }}
          state: LIVE""",
          resolved_info.input_and_params[0]
          .input_artifacts["examples"][0]
          .mlmd_artifact,
          ignored_fields=[
              "type_id",
              "type",
              "create_time_since_epoch",
              "last_update_time_since_epoch",
          ],
      )
  
imports: import os
  import time
  from unittest import mock
  import uuid
  from absl.testing import parameterized
  import tensorflow
  from tfx import types
  from tfx import version
  from tfx.orchestration import data_types_utils
  from tfx.orchestration import node_proto_view
  from tfx.orchestration.experimental.core import constants
  from tfx.orchestration.experimental.core import pipeline_state
  from tfx.orchestration.experimental.core import task
  from tfx.orchestration.experimental.core import task_gen_utils
  from tfx.orchestration.experimental.core import test_utils
  from tfx.orchestration.experimental.core.testing import test_async_pipeline
  from tfx.orchestration.experimental.core.testing import test_dynamic_exec_properties_pipeline
  from tfx.orchestration import mlmd_connection_manager
  from tfx.orchestration.portable import outputs_utils
  from tfx.orchestration.portable.mlmd import execution_lib
  from tfx.proto.orchestration import execution_result_pb2
  from tfx.proto.orchestration import placeholder_pb2
  from tfx.types import artifact_utils
  from tfx.types import standard_artifacts
  from tfx.utils import status
  from tfx.utils import test_case_utils
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 8 for calling the TaskGenUtilsTest obj's underlying member method code with example usage: obj.test_generate_resolved_info() without return types