/*
 * 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.CustomEntityInstanceDto;
import org.openapitools.client.model.CustomEntityInstanceResponseDto;
import org.openapitools.client.model.CustomEntityInstancesResponseDto;
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 CustomEntityInstanceApi
 */
@Ignore
public class CustomEntityInstanceApiTest {

    private final CustomEntityInstanceApi api = new CustomEntityInstanceApi();

    
    /**
     *  Remove an existing custom entity instance with a given code from a custom entity template given by code  
     *
     *  Remove an existing custom entity instance with a given code from a custom entity template given by code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETECustomEntityInstanceCustomEntityTemplateCodeCode1Test() throws ApiException {
        String customEntityTemplateCode = null;
        String code = null;
        ActionStatus response = api.dELETECustomEntityInstanceCustomEntityTemplateCodeCode1(customEntityTemplateCode, code);

        // TODO: test validations
    }
    
    /**
     *  Find a #### with a given (exemple) code .  
     *
     *  Find a #### with a given (exemple) code .  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETCustomEntityInstanceCustomEntityTemplateCodeCode1Test() throws ApiException {
        String customEntityTemplateCode = null;
        String code = null;
        CustomEntityInstanceResponseDto response = api.gETCustomEntityInstanceCustomEntityTemplateCodeCode1(customEntityTemplateCode, code);

        // TODO: test validations
    }
    
    /**
     *  List custom entity instances.  
     *
     *  List custom entity instances.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETCustomEntityInstanceListCustomEntityTemplateCode1Test() throws ApiException {
        String customEntityTemplateCode = null;
        CustomEntityInstancesResponseDto response = api.gETCustomEntityInstanceListCustomEntityTemplateCode1(customEntityTemplateCode);

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

        // TODO: test validations
    }
    
    /**
     *  Create a new custom entity instance using a custom entity template. 
     *
     *  Create a new custom entity instance using a custom entity template. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTCustomEntityInstanceCustomEntityTemplateCode1Test() throws ApiException {
        String customEntityTemplateCode = null;
        CustomEntityInstanceDto customEntityInstanceDto = null;
        ActionStatus response = api.pOSTCustomEntityInstanceCustomEntityTemplateCode1(customEntityTemplateCode, customEntityInstanceDto);

        // TODO: test validations
    }
    
    /**
     *  Disable a Custom entity instance with a given code  
     *
     *  Disable a Custom entity instance with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTCustomEntityInstanceCustomEntityTemplateCodeCodeDisable1Test() throws ApiException {
        String customEntityTemplateCode = null;
        String code = null;
        ActionStatus response = api.pOSTCustomEntityInstanceCustomEntityTemplateCodeCodeDisable1(customEntityTemplateCode, code);

        // TODO: test validations
    }
    
    /**
     *  Enable a Custom entity instance with a given code  
     *
     *  Enable a Custom entity instance with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTCustomEntityInstanceCustomEntityTemplateCodeCodeEnable1Test() throws ApiException {
        String customEntityTemplateCode = null;
        String code = null;
        ActionStatus response = api.pOSTCustomEntityInstanceCustomEntityTemplateCodeCodeEnable1(customEntityTemplateCode, code);

        // TODO: test validations
    }
    
    /**
     *  Create new or update an existing custom entity instance with a given code.  
     *
     *  Create new or update an existing custom entity instance with a given code.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTCustomEntityInstanceCustomEntityTemplateCodeCreateOrUpdate1Test() throws ApiException {
        String customEntityTemplateCode = null;
        CustomEntityInstanceDto customEntityInstanceDto = null;
        ActionStatus response = api.pOSTCustomEntityInstanceCustomEntityTemplateCodeCreateOrUpdate1(customEntityTemplateCode, customEntityInstanceDto);

        // TODO: test validations
    }
    
    /**
     *  Update an existing custom entity instance using a custom entity template  
     *
     *  Update an existing custom entity instance using a custom entity template  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTCustomEntityInstanceCustomEntityTemplateCode1Test() throws ApiException {
        String customEntityTemplateCode = null;
        CustomEntityInstanceDto customEntityInstanceDto = null;
        ActionStatus response = api.pUTCustomEntityInstanceCustomEntityTemplateCode1(customEntityTemplateCode, customEntityInstanceDto);

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

        // TODO: test validations
    }
    
}
