code: def testReplicateArtifacts(self):
      an_artifact = standard_artifacts.Examples()
      an_artifact.uri = "/tmp/evaluri"
      an_artifact.split_names = '["eval"]'
      an_artifact.is_external = True
      replicated = artifact_utils.replicate_artifacts(an_artifact, 4)
      self.assertLen(replicated, 4)
      self.assertEqual(replicated[0].uri, "/tmp/evaluri/0")
      self.assertEqual(replicated[3].uri, "/tmp/evaluri/3")
      self.assertEqual(
          replicated[0].split_names, an_artifact.split_names
      )
      self.assertEqual(
          replicated[0].split_names, an_artifact.split_names
      )
      self.assertEqual(
          replicated[0].is_external, an_artifact.is_external
      )
  
imports: import copy
  from unittest import mock
  from absl import logging
  import tensorflow
  from tfx.types import artifact
  from tfx.types import artifact_utils
  from tfx.types import standard_artifacts
  from tfx.types import system_artifacts
  from tfx.types import value_artifact
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 2 for calling the ArtifactUtilsTest obj's underlying member method code with example usage: obj.testReplicateArtifacts() without return types