### Question:
Timing { public void set(long value) { cur = value; started = true; } 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 testSet() { timing.set(PAUSE); assertTrue(timing.isStarted()); assertTrue(timing.elapsed(PAUSE), String.valueOf(timing.elapsed())); }