@Test
public void testTime() {

  Timer timer = new MockTimer(eventBus, this);
  AtomicBoolean ran = new AtomicBoolean(false);
  timer.time(() -> ran.set(true));
  assertEquals(WRONG_TIME_MSG, 1_000_000, timer.getElapsedTime());
  assertTrue("Did not run", ran.get());
}