@Test
public void shouldInitializeWorkflowInstanceWithoutDockerArgs() throws Exception {

  WorkflowConfiguration workflowConfiguration =
      WorkflowConfigurationBuilder.from(dockerWorkflowConfiguration(HOURS)).dockerArgs(Optional.empty()).build();
  Workflow workflow = Workflow.create("id", workflowConfiguration);
  trigger.event(workflow, NATURAL_TRIGGER, TIME, PARAMETERS);
  WorkflowInstance expectedInstance = WorkflowInstance.create(workflow.id(),
      toParameter(workflowConfiguration.schedule(), TIME));
  verify(stateManager).trigger(expectedInstance, Trigger.natural(), PARAMETERS);
}