### Question:
Timing { public void stop() { cur = 0L; started = false; } Timing(); void start(); void stop(); void restart(); void pause(); void unpause(); boolean elapsed(long time); long elapsed(); void set(long value); long get(); boolean isStarted();  }### Answer:
@Test void testStop() { timing.start(); UtilTests.pause(PAUSE); timing.stop(); assertFalse(timing.isStarted()); assertEquals(0L, timing.get()); assertFalse(timing.elapsed(PAUSE), String.valueOf(timing.elapsed())); }