/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.client.api;

import org.openapitools.client.ApiException;
import org.openapitools.client.model.ActionStatus;
import org.openapitools.client.model.GenericWorkflowDto;
import org.openapitools.client.model.GenericWorkflowResponseDto;
import org.openapitools.client.model.GenericWorkflowsResponseDto;
import org.openapitools.client.model.WorkflowInsHistoryResponseDto;
import org.junit.Test;
import org.junit.Ignore;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * API tests for GenericWorkflowApi
 */
@Ignore
public class GenericWorkflowApiTest {

    private final GenericWorkflowApi api = new GenericWorkflowApi();

    
    /**
     *  Remove an existing workflow with a given code  
     *
     *  Remove an existing workflow with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEGenericWorkflowCode1Test() throws ApiException {
        String code = null;
        ActionStatus response = api.dELETEGenericWorkflowCode1(code);

        // TODO: test validations
    }
    
    /**
     *  Find a workflow by entity  
     *
     *  Find a workflow by entity  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETGenericWorkflowFindByEntity1Test() throws ApiException {
        String baseEntityName = null;
        GenericWorkflowsResponseDto response = api.gETGenericWorkflowFindByEntity1(baseEntityName);

        // TODO: test validations
    }
    
    /**
     *  Find workflow history  
     *
     *  Find workflow history  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETGenericWorkflowHistory1Test() throws ApiException {
        String entityInstanceCode = null;
        String workflowCode = null;
        String fromStatus = null;
        String toStatus = null;
        WorkflowInsHistoryResponseDto response = api.gETGenericWorkflowHistory1(entityInstanceCode, workflowCode, fromStatus, toStatus);

        // TODO: test validations
    }
    
    /**
     *  List of workflows.  
     *
     *  List of workflows.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETGenericWorkflowList1Test() throws ApiException {
        GenericWorkflowsResponseDto response = api.gETGenericWorkflowList1();

        // TODO: test validations
    }
    
    /**
     *  Find a workflow with a given code  
     *
     *  Find a workflow with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETGenericWorkflowSearch1Test() throws ApiException {
        String code = null;
        GenericWorkflowResponseDto response = api.gETGenericWorkflowSearch1(code);

        // TODO: test validations
    }
    
    /**
     *  Get version of application  
     *
     *  Get version of application  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETIBaseVersion77Test() throws ApiException {
        ActionStatus response = api.gETIBaseVersion77();

        // TODO: test validations
    }
    
    /**
     *  Disable a Workflow with a given code  
     *
     *  Disable a Workflow with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTGenericWorkflowCodeDisable1Test() throws ApiException {
        String code = null;
        ActionStatus response = api.pOSTGenericWorkflowCodeDisable1(code);

        // TODO: test validations
    }
    
    /**
     *  Enable a Workflow with a given code  
     *
     *  Enable a Workflow with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTGenericWorkflowCodeEnable1Test() throws ApiException {
        String code = null;
        ActionStatus response = api.pOSTGenericWorkflowCodeEnable1(code);

        // TODO: test validations
    }
    
    /**
     *  Create a new workflow  
     *
     *  Create a new workflow  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTGenericWorkflowCreate1Test() throws ApiException {
        GenericWorkflowDto genericWorkflowDto = null;
        ActionStatus response = api.pOSTGenericWorkflowCreate1(genericWorkflowDto);

        // TODO: test validations
    }
    
    /**
     *  Create new or update an existing workflow with a given code  
     *
     *  Create new or update an existing workflow with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTGenericWorkflowCreateOrUpdate1Test() throws ApiException {
        GenericWorkflowDto genericWorkflowDto = null;
        ActionStatus response = api.pOSTGenericWorkflowCreateOrUpdate1(genericWorkflowDto);

        // TODO: test validations
    }
    
    /**
     *  Execute a workflow  
     *
     *  Execute a workflow  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTGenericWorkflowExecute1Test() throws ApiException {
        String baseEntityName = null;
        String entityInstanceCode = null;
        String workflowCode = null;
        ActionStatus response = api.pOSTGenericWorkflowExecute1(baseEntityName, entityInstanceCode, workflowCode);

        // TODO: test validations
    }
    
    /**
     *  Update an existing workflow  
     *
     *  Update an existing workflow  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTGenericWorkflowUpdate1Test() throws ApiException {
        GenericWorkflowDto genericWorkflowDto = null;
        ActionStatus response = api.pUTGenericWorkflowUpdate1(genericWorkflowDto);

        // TODO: test validations
    }
    
    /**
     * 
     *
     * 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void user50Test() throws ApiException {
        ActionStatus response = api.user50();

        // TODO: test validations
    }
    
}
