private ReplicaId createMockNotAmbryReplica(String partitionIdString) {
    return createMockReplicaId(partitionIdString, ReplicaId.class, PartitionId.class);
  }
Deep copy a {@link DataNodeConfig}.
@param dataNodeConfig {@link DataNodeConfig} to copy
@return {@link InstanceConfig} of given data node.
ambry-clustermap/src/test/java/com/github/ambry/clustermap/HelixParticipantTest.java