### Question:
TimeGenerator implements Runnable { public void stop() { if (runningTaskFuture != null && !runningTaskFuture.isDone()) { runningTaskFuture.cancel(true); } active = false; count = 0; runningTaskFuture = null; } TimeGenerator(final TimerInstance owner); void reset(); @Override void run(); void start(); void stop();  }### Answer:
@Test public void testStop() { }