code: def testLatestPolicyModelOp_RealisticModelExecutions_ModelResolvedCorrectly(
      self,
      eval_models: List[str],
      infra_val_models: List[str],
      push_models: List[str],
      policy: latest_policy_model_op.Policy,
      expected: str,
  ):
      str_to_model = {
          "m1": self.model_1,
          "m2": self.model_2,
          "m3": self.model_3,
      }
  
      for model in eval_models:
          self.evaluator_bless_model(str_to_model[model])
  
      for model in infra_val_models:
          self.infra_validator_bless_model(str_to_model[model])
  
      for model in push_models:
          self.push_model(str_to_model[model])
  
      actual = self._latest_policy_model(policy)["model"][0]
      self.assertArtifactEqual(actual, str_to_model[expected])
  
imports: from typing import Dict, List, Optional
  from absl.testing import parameterized
  import tensorflow
  from tfx import types
  from tfx.dsl.input_resolution import resolver_op
  from tfx.dsl.input_resolution.ops import latest_policy_model_op
  from tfx.dsl.input_resolution.ops import ops
  from tfx.dsl.input_resolution.ops import test_utils
  from tfx.orchestration.portable.input_resolution import exceptions
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 14 for calling the LatestPolicyModelOpTest obj's underlying member method code with example usage: obj.testLatestPolicyModelOp_RealisticModelExecutions_ModelResolvedCorrectly(eval_models, infra_val_models, push_models, policy, expected) without return types