@Test public void doStartWithNoOldRebuildTasks() throws Exception { when(taskScheduler.listsTasks()).thenReturn(emptyList()); manager.doStart(); verify(taskScheduler, never()).scheduleTask(any(), any()); }
@Override protected void doStart() { removeOldRebuildTasks(); }
RebuildAssetUploadMetadataTaskManager extends LifecycleSupport { @Override protected void doStart() { removeOldRebuildTasks(); } }
RebuildAssetUploadMetadataTaskManager extends LifecycleSupport { @Override protected void doStart() { removeOldRebuildTasks(); } @Inject  RebuildAssetUploadMetadataTaskManager(final TaskScheduler taskScheduler); }
RebuildAssetUploadMetadataTaskManager extends LifecycleSupport { @Override protected void doStart() { removeOldRebuildTasks(); } @Inject  RebuildAssetUploadMetadataTaskManager(final TaskScheduler taskScheduler);  }
RebuildAssetUploadMetadataTaskManager extends LifecycleSupport { @Override protected void doStart() { removeOldRebuildTasks(); } @Inject  RebuildAssetUploadMetadataTaskManager(final TaskScheduler taskScheduler);   }