@Test public void scheduleTaskDailyAt1am() throws Exception { underTest.doStart(); verify(scheduleFactory, times(2)).cron(any(Date.class), eq("0 0 1 * * ?")); }
@Override protected void doStart() { createCleanupTask(); }
CleanupBootService extends LifecycleSupport { @Override protected void doStart() { createCleanupTask(); } }
CleanupBootService extends LifecycleSupport { @Override protected void doStart() { createCleanupTask(); } @Inject  CleanupBootService(final TaskScheduler taskScheduler); }
CleanupBootService extends LifecycleSupport { @Override protected void doStart() { createCleanupTask(); } @Inject  CleanupBootService(final TaskScheduler taskScheduler);  }
CleanupBootService extends LifecycleSupport { @Override protected void doStart() { createCleanupTask(); } @Inject  CleanupBootService(final TaskScheduler taskScheduler);   }