code: def testParseRawArtifactDict(self):
      for artifacts_dict in [self._artifacts, self._artifacts_legacy]:
          name_from_id = {}
          actual_result = (
              kubeflow_v2_entrypoint_utils.parse_raw_artifact_dict(
                  artifacts_dict, name_from_id
              )
          )
          for key in self._expected_dict:
              (expected_artifact,) = self._expected_dict[key]
              (actual_artifact,) = actual_result[key]
              self.assertEqual(expected_artifact.id, actual_artifact.id)
              self.assertEqual(
                  expected_artifact.uri, actual_artifact.uri
              )
              for prop in expected_artifact.artifact_type.properties:
                  self.assertEqual(
                      getattr(expected_artifact, prop),
                      getattr(actual_artifact, prop),
                  )
          self.assertEqual(
              self._expected_dict[_KEY_1][0].get_string_custom_property(
                  "my_property_1"
              ),
              actual_result[_KEY_1][0].get_string_custom_property(
                  "my_property_1"
              ),
          )
          self.assertEqual(
              self._expected_dict[_KEY_2][0].get_string_custom_property(
                  "my_property_2"
              ),
              actual_result[_KEY_2][0].get_string_custom_property(
                  "my_property_2"
              ),
          )
          self.assertEqual(
              self._expected_dict[_KEY_3][0].span,
              actual_result[_KEY_3][0].span,
          )
  
file_path: tfx/tfx/orchestration/kubeflow/v2/container/kubeflow_v2_entrypoint_utils_test.py
imports: import os
  from kfp.pipeline_spec import pipeline_spec_pb2
  import tensorflow
  from tfx.components.evaluator import constants
  from tfx.orchestration.kubeflow.v2.container import kubeflow_v2_entrypoint_utils
  from tfx.types import standard_artifacts
  from tfx.utils import io_utils
label_desc: Use image node_id 2 for calling the KubeflowV2EntrypointUtilsTest obj's underlying member method code with example usage: obj.testParseRawArtifactDict() without return types