@Test
public void shouldNotTriggerBackfillsWhenFailedToReadWorkflow() throws Exception {

  backfills.put(BACKFILL_1.id(), BACKFILL_1);
  when(transaction.workflow(BACKFILL_1.workflowId())).thenThrow(new IOException());
  backfillTriggerManager.tick();
  verifyZeroInteractions(triggerListener);
  verify(transaction, never()).store(any(Backfill.class));
}