### Question:
AvgMinMaxPercentileCounter extends Metric implements Summary { public void reset() { counter.reset(); reservoir.reset(); } AvgMinMaxPercentileCounter(String name); void addDataPoint(long value); void resetMax(); void reset(); void add(long value); Map<String, Object> values();  }### Answer:
@Test public void testReset() { addDataPoints(); testCounter.reset(); Map<String, Object> values = testCounter.values(); assertEquals(9, values.size(), "There should be 9 values in the set"); assertEquals(0D, values.get("avg_test"), "should avg=0"); assertEquals(0L, values.get("min_test"), "should have min=0"); assertEquals(0L, values.get("max_test"), "should have max=0"); assertEquals(0L, values.get("cnt_test"), "should have cnt=0"); assertEquals(0L, values.get("sum_test"), "should have sum=0"); assertEquals(0L, values.get("p50_test"), "should have p50=0"); assertEquals(0L, values.get("p95_test"), "should have p95=0"); assertEquals(0L, values.get("p99_test"), "should have p99=0"); assertEquals(0L, values.get("p999_test"), "should have p999=0"); }