@Test public void testRunReindexOnDemand() { Date now = new Date(); given(dateFactory.createNewDate()).willReturn(now); underTest.runReindexOnDemand(); verify(taskScheduler).schedule(luceneReindexerTask, now); }
public void runReindexOnDemand() { Date now = dateFactory.createNewDate(); taskScheduler.schedule(luceneReindexerTask, now); }
IndexTaskScheduler { public void runReindexOnDemand() { Date now = dateFactory.createNewDate(); taskScheduler.schedule(luceneReindexerTask, now); } }
IndexTaskScheduler { public void runReindexOnDemand() { Date now = dateFactory.createNewDate(); taskScheduler.schedule(luceneReindexerTask, now); }  }
IndexTaskScheduler { public void runReindexOnDemand() { Date now = dateFactory.createNewDate(); taskScheduler.schedule(luceneReindexerTask, now); }  void startReindexScheduling(); void runReindexOnDemand(); }
IndexTaskScheduler { public void runReindexOnDemand() { Date now = dateFactory.createNewDate(); taskScheduler.schedule(luceneReindexerTask, now); }  void startReindexScheduling(); void runReindexOnDemand();  }