code: def testKerasModelPath(self, is_old_artifact):
      # Create folders based on Keras based Trainer output model directory.
      output_uri = os.path.join(self.get_temp_dir(), "model_dir")
      serving_model_path = path_utils.serving_model_dir(
          output_uri, is_old_artifact
      )
      serving_model = os.path.join(serving_model_path, "saved_model.pb")
      io_utils.write_string_file(serving_model, "testing")
  
      # Test retrieving model folder.
      self.assertEqual(
          serving_model_path,
          path_utils.eval_model_path(output_uri, is_old_artifact),
      )
      self.assertEqual(
          serving_model_path,
          path_utils.serving_model_path(output_uri, is_old_artifact),
      )
  
file_path: tfx/tfx/utils/path_utils_test.py
imports: import os
  from absl.testing import parameterized
  import tensorflow
  from tfx.types import standard_artifacts
  from tfx.utils import io_utils
  from tfx.utils import path_utils
  from tfx.utils import path_constants
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 2 for calling the PathUtilsTest obj's underlying member method code with example usage: obj.testKerasModelPath(is_old_artifact) without return types