### Question:
TimeGenerator implements Runnable { void stopAndSendData() { stop(); if (owner.propMode == MEASURE_TIME) { owner.opTime.sendData(ConversionUtils.intToBytes((int) (currentTime - owner.propWaitPeriod))); } } TimeGenerator(final TimerInstance owner); void reset(); @Override void run(); void start(); void stop();  }### Answer:
@Test public void testStopAndSendData() { }