public void createAndSetPermanentMetricRegistry() {
    setPermanentMetricRegistry(new MetricRegistry());
  }
Create a {@link MetricRegistry} and ensure that this is the one that is returned by {@link #getMetricRegistry()}
ambry-test-utils/src/main/java/com/github/ambry/clustermap/MockClusterMap.java