### Question:
MetricManager { public static BucketCounter getBucketCounters(String group, MetricName name) { IMetricManager manager = getIMetricManager(); return manager.getBucketCounter(group, name); }  static Counter getCounter(String group, MetricName name); static BucketCounter getBucketCounters(String group, MetricName name); static Compass getCompass(String group, MetricName name); static void register(String group, MetricName name, Metric metric); @SuppressWarnings("unchecked") static IMetricManager getIMetricManager();  }### Answer:
@Test public void testBucketCounter() { BucketCounter bc = MetricManager.getBucketCounters("test", MetricName.build("test3")); bc.update(); Assertions.assertEquals(0, bc.getBucketInterval()); Assertions.assertEquals(0, bc.getBucketCounts().size()); }