@Test
public void execute() {

    snakerEngineFacets.initFlows();
    List<Process> allProcess = snakerEngineFacets.getAllProcess();
    if (!CollectionUtils.isEmpty(allProcess)) {
        Process process = allProcess.get(0);
        Order dm = snakerEngineFacets.startAndExecute(process.getId(), "apply.operator", null);
        List<Task> tasks = snakerEngineFacets.getTasks(dm.getId());
        if (!CollectionUtils.isEmpty(tasks)) {
            List<Task> taskList = snakerEngineFacets.execute(tasks.get(0).getId(), "approveDept.operator", null);
            Assert.assertNotNull(taskList);
        }
    }
}