### Question:
StopWatch extends Stated { public void resetTime() { time = 0; } StopWatch(); long getStartTime(); long lap(); long getTime(); void resetClock(); void resetTime(); void onReset(); void add(long nanos); void add(StopWatch stopWatch); @Override String toString();  }### Answer:
@Test public void testResetTime() { stopWatch.start(); stopWatch.resetTime(); Assert.assertEquals(stopWatch.getTime(), 0); }