@Test
public void testStartWorkflow() {

    WorkflowDef def = new WorkflowDef();
    def.setName("test");
    Map<String, Object> workflowInput = new HashMap<>();
    String externalInputPayloadStoragePath = null;
    String correlationId = null;
    Integer priority = null;
    String parentWorkflowId = null;
    String parentWorkflowTaskId = null;
    String event = null;
    Map<String, String> taskToDomain = null;
    workflowExecutor.startWorkflow(def,
            workflowInput,
            externalInputPayloadStoragePath,
            correlationId,
            priority,
            parentWorkflowId,
            parentWorkflowTaskId,
            event,
            taskToDomain);
    verify(executionDAOFacade, times(1)).createWorkflow(any(Workflow.class));
}