@Test
public void shouldMarkedAsAllTriggeredIfEndOfBackfillEncounteredReversed() throws IOException {

  final Workflow workflow = createWorkflow(WORKFLOW_ID1);
  initWorkflow(workflow);
  final Backfill completedBackfill = BACKFILL_4.builder()
      .nextTrigger(previousInstant(BACKFILL_4.start(), BACKFILL_4.schedule()))
      .allTriggered(false)
      .build();
  backfills.put(completedBackfill.id(), completedBackfill);
  backfillTriggerManager.tick();
  verify(transaction).store(completedBackfill.builder().allTriggered(true).build());
  verifyZeroInteractions(triggerListener);
}