//package com.zcxk.test;
//
//import com.zcxk.OperationManagerMain;
//import com.zcxk.process.entity.ProcessDefinition;
//import com.zcxk.process.service.WorkFlowService;
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.junit4.SpringRunner;
//
//import java.util.HashMap;
//import java.util.Map;
//
//@RunWith(SpringRunner.class)
//@SpringBootTest(classes = OperationManagerMain.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
//public class TestSpringProgress {
//    @Autowired
//    private WorkFlowService workFlowService;
//    @Test
//    public void testStartProcess(){
//        ProcessDefinition processDefinition=new ProcessDefinition();
//        processDefinition.setTenantId("test1");
//        processDefinition.setProcessKey("workFlow");
//        String businessKey="43";
//        Map<String, Object> vars=new HashMap<>();
//        vars.put("assineeFormUserId","55");
//        workFlowService.startProcess(processDefinition,vars);
//        //workFlowService.startProcess(processDefinition,businessKey,vars);
//    }
//}
