@Test
public void shouldNotTriggerBackfillsAndStoreBackfillWithMissingWorkflows() throws Exception {

  backfills.put(BACKFILL_1.id(), BACKFILL_1);
  when(transaction.workflow(BACKFILL_1.workflowId())).thenReturn(Optional.empty());
  backfillTriggerManager.tick();
  verifyZeroInteractions(triggerListener);
  verify(transaction).store(BACKFILL_1.builder().halted(true).build());
  verify(transaction, times(1)).store(any(Backfill.class));
}