### Question:
RepeatedTimer implements Describer { protected int adjustTimeout(final int timeoutMs) { return timeoutMs; } RepeatedTimer(final String name, final int timeoutMs);  RepeatedTimer(final String name, final int timeoutMs, final Timer timer); int getTimeoutMs(); void run(); void runOnceNow(); void start(); void restart(); void reset(final int timeoutMs); void reset(); void destroy(); void stop(); @Override void describe(final Printer out); @Override String toString(); static final Logger LOG; }### Answer:
@Test public void testAdjustTimeout() throws Exception { this.timer.nextTimeout = 100; this.timer.start(); Thread.sleep(1000); assertEquals(10, this.timer.counter.get(), 3); }