@Test public void shouldCreateTaskOnStart() throws Exception { underTest.doStart(); verify(taskScheduler).scheduleTask(any(), any()); }
@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);   }