NonExecutingEventScheduler extends TypedEventScheduler { @Override public TimeProvider getTimeProvider() { return timeProvider; } NonExecutingEventScheduler(EventSchedulerType schedulerType, TimeProvider timeProvider); @Override TimeProvider getTimeProvider(); @Override Cancelable doNow(Runnable r, String description); @Override Cancelable doAt(double time, Runnable r, String description, boolean isDaemon); @Override long getThreadId(); @Override boolean hasOnlyDaemonEvents(); @Override void cancel(Event e); @Override void stop(); void executeAllEvents(); void executeOverdueEvents(); void reset();  }
@Test public void getTimeProviderReturnsTimeProvider() { Assertions.assertEquals(timeProvider, eventScheduler.getTimeProvider()); }