@Test
public void shouldNotTriggerIfFailedToGetBackfills() throws Exception {

  final Workflow workflow = createWorkflow(WORKFLOW_ID1);
  initWorkflow(workflow);
  doThrow(new IOException()).when(storage).backfills(anyBoolean());
  backfillTriggerManager.tick();
  verifyZeroInteractions(triggerListener);
  verify(transaction, never()).store(any(Backfill.class));
}