DefaultConnectionMetricsCounter implements ConnectionMetricsCounter { @Override public void reset() { logAction("Reset counter"); counter.reset(); } DefaultConnectionMetricsCounter(
            final MetricDirection metricDirection,
            final String address,
            final MetricType metricType,
            SlidingWindowCounter counter); @Override void recordSuccess(); @Override void recordFailure(); @Override void reset(); @Override MetricType getMetricType(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testResetCounter() { assertCounterValues(0L, 0L); recordCounterValues(10, 5); assertCounterValues(10L, 5L); underTest.reset(); assertCounterValues(0L, 0L); recordCounterValues(20, 10); assertCounterValues(20L, 10L); }