### Question:
AvgMinMaxPercentileCounterSet extends Metric implements SummarySet { public void reset() { for (Map.Entry<String, AvgMinMaxPercentileCounter> entry : counters.entrySet()) { entry.getValue().reset(); } } AvgMinMaxPercentileCounterSet(String name); void addDataPoint(String key, long value); void resetMax(); void reset(); @Override void add(String key, long value); @Override Map<String, Object> values();  }### Answer:
@Test public void testReset() { addDataPoints(); testCounterSet.reset(); Map<String, Object> values = testCounterSet.values(); assertEquals(0D, values.get("avg_key1_test"), "avg_key1_test should =0"); assertEquals(0L, values.get("min_key1_test"), "min_key1_test should =0"); assertEquals(0L, values.get("max_key1_test"), "max_key1_test should =0"); assertEquals(0L, values.get("cnt_key1_test"), "cnt_key1_test should =0"); assertEquals(0L, values.get("sum_key1_test"), "sum_key1_test should =0"); assertEquals(0L, values.get("p50_key1_test"), "p50_key1_test should have p50=0"); assertEquals(0L, values.get("p95_key1_test"), "p95_key1_test should have p95=0"); assertEquals(0L, values.get("p99_key1_test"), "p99_key1_test should have p99=0"); assertEquals(0L, values.get("p999_key1_test"), "p999_key1_test should have p999=0"); assertEquals(0D, values.get("avg_key2_test"), "avg_key2_test should =0"); assertEquals(0L, values.get("min_key2_test"), "min_key2_test should =0"); assertEquals(0L, values.get("max_key2_test"), "max_key2_test should =0"); assertEquals(0L, values.get("cnt_key2_test"), "cnt_key2_test should =0"); assertEquals(0L, values.get("sum_key2_test"), "sum_key2_test should =0"); assertEquals(0L, values.get("p50_key2_test"), "p50_key2_test should have p50=0"); assertEquals(0L, values.get("p95_key2_test"), "p95_key2_test should have p95=0"); assertEquals(0L, values.get("p99_key2_test"), "p99_key2_test should have p99=0"); assertEquals(0L, values.get("p999_key2_test"), "p999_key2_test should have p999=0"); }