MetricRegistry getMetricRegistry() {
    return metricRegistry;
  }
@return the MetricRegistry that used in ReplicationMetrics.
ambry-replication/src/test/java/com/github/ambry/replication/MockReplicationManager.java