//package net.northking.cctp.flowable.api.sm;/*
// * Copyright (c) 京北方信息技术股份有限公司 Corporation 2021 . All rights reserved.
// *
// */
//
//import net.northking.cctp.test.HttpApiTest;
//import net.northking.cctp.test.entity.HttpApiTestCase;
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.junit.runners.Parameterized;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.ContextConfiguration;
//import org.springframework.test.context.junit4.SpringRunner;
//import org.springframework.test.web.servlet.MockMvc;
//import org.springframework.test.web.servlet.request.MockHttpServletRequestBuilder;
//import org.springframework.web.context.WebApplicationContext;
//
//import java.util.HashMap;
//import java.util.Map;
//
//import static net.northking.cctp.common.security.SecurityHttpConstants.HEADER_AUTHENTICATION;
//import static net.northking.cctp.common.security.SecurityHttpConstants.HEADER_AUTHENTICATION_PREFIX;
//import static org.junit.Assert.*;
//
////@RunWith(SpringRunner.class)
////@ContextConfiguration
////@SpringBootTest
////@AutoConfigureMockMvc
//public class StateProcessDefCtrlTest extends HttpApiTest
//{
//  HttpApiTestCase testCase;
//
//  @Test
//  public void save() throws Exception
//  {
////    String token = "";
////    Map<String, Object> headers = new HashMap<>();
////    headers.put(HEADER_AUTHENTICATION, HEADER_AUTHENTICATION_PREFIX + token);
////
////    testCase = new HttpApiTestCase();
////    testCase.setApiCode("AA");
////    testCase.setUrl("/v1/def/sp");
////    testCase.setType("POST");
////    testCase.setApiMemo("MMM");
////    testCase.setHeaders(headers);
////
////    testCase.setExpectCode(200);
////    testCase.setExpectSuccess(true);
////    testCase.setDataFile("/sm/defect01.sp.json");
////    executeTestCase(testCase);
//  }
//}