PollScheduler { public static PollScheduler getInstance() { return INSTANCE; } private  PollScheduler(); static PollScheduler getInstance(); void addPoller(PollRunnable task, long delay, TimeUnit timeUnit); void start(); void start(ScheduledExecutorService service); void stop(); boolean isStarted();  }
@Test public void testGetInstance() throws Exception { PollScheduler p = PollScheduler.getInstance(); assertNotNull(p); }