BasicStopwatch implements Stopwatch { @Override public void reset() { startTime.set(0L); endTime.set(0L); running.set(false); }  @Override void start(); @Override void stop(); @Override void reset(); @Override long getDuration(TimeUnit timeUnit); @Override long getDuration();  }
@Test public void testReset() throws Exception { testStopwatch.start(); Thread.sleep(10); testStopwatch.stop(); assertTrue(testStopwatch.getDuration() > 0); testStopwatch.reset(); assertTrue(testStopwatch.getDuration() == 0); }