@Test
public void shouldTriggerExecutionOnEnabledWithNextNaturalTrigger() throws IOException {

  setupWithNextNaturalTrigger(true, parse("2016-10-01T00:00:00Z"), WORKFLOW_DAILY);
  triggerManager.tick();
  verify(triggerListener).event(WORKFLOW_DAILY, NATURAL_TRIGGER, parse("2016-10-01T00:00:00Z"),
      TriggerParameters.zero());
  verify(storage).updateNextNaturalTrigger(
      WORKFLOW_DAILY.id(),
      TriggerInstantSpec.create(parse("2016-10-02T00:00:00Z"), parse("2016-10-03T00:00:00Z")));
}