PersistedHistogram { public void reset() { histogram.reset(); } PersistedHistogram();   PersistedHistogram(final Histogram histogram); void reset(); void recordValue(final long value); void outputPercentileDistribution(final PrintStream printStream, final double outputValueUnitScalingRatio); Path saveToFile(final Path outputDirectory, final String namePrefix);  }
@Test void reset() { persistedHistogram.reset(); verify(histogram).reset(); verifyNoMoreInteractions(histogram); }