@Test
public void shouldInjectTriggerExecutionEventWithBackfillTrigger() throws Exception {

  WorkflowConfiguration workflowConfiguration = dockerWorkflowConfiguration(HOURS);
  Workflow workflow = Workflow.create("id", workflowConfiguration);
  trigger.event(workflow, BACKFILL_TRIGGER, TIME, PARAMETERS);
  WorkflowInstance expectedInstance = WorkflowInstance.create(workflow.id(), "2016-01-18T09");
  verify(stateManager).trigger(expectedInstance, BACKFILL_TRIGGER, PARAMETERS);
}