### Question:
IndexerMetricsUtil { public static MetricName metricName(Class<?> producerClass, String metric, String indexerName) { return new MetricName("hbaseindexer", producerClass.getSimpleName(), metric, indexerName); }  static void shutdownMetrics(String indexerName); static MetricName metricName(Class<?> producerClass, String metric, String indexerName); static final String METRIC_GROUP; }### Answer:
@Test public void testMetricName() { String metric = "_metric_"; String indexerName = "_index_name_"; MetricName metricName = IndexerMetricsUtil.metricName(getClass(), metric, indexerName); assertEquals("hbaseindexer", metricName.getGroup()); assertEquals("IndexerMetricsUtilTest", metricName.getType()); assertEquals(metric, metricName.getName()); assertEquals(indexerName, metricName.getScope()); }