/*
 * 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.AccountingCodeDto;
import org.openapitools.client.model.AccountingCodeGetResponseDto;
import org.openapitools.client.model.AccountingCodeListResponseDto;
import org.openapitools.client.model.ActionStatus;
import org.openapitools.client.model.PagingAndFiltering;
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 AccountingCodeApi
 */
@Ignore
public class AccountingCodeApiTest {

    private final AccountingCodeApi api = new AccountingCodeApi();

    
    /**
     *  Removes an AccountingCode entity.  
     *
     *  Removes an AccountingCode entity.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEAccountingCodeAccountingCode1Test() throws ApiException {
        String accountingCode = null;
        ActionStatus response = api.dELETEAccountingCodeAccountingCode1(accountingCode);

        // TODO: test validations
    }
    
    /**
     *  List AccountingCode matching the given criteria.  
     *
     *  List AccountingCode matching the given criteria.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETAccountingCodeList1Test() throws ApiException {
        Integer offset = null;
        Integer limit = null;
        String sortBy = null;
        String sortOrder = null;
        AccountingCodeListResponseDto response = api.gETAccountingCodeList1(offset, limit, sortBy, sortOrder);

        // TODO: test validations
    }
    
    /**
     *  Finds an AccountingCode.  
     *
     *  Finds an AccountingCode.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETAccountingCodeSearch1Test() throws ApiException {
        String accountingCode = null;
        AccountingCodeGetResponseDto response = api.gETAccountingCodeSearch1(accountingCode);

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

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

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

        // TODO: test validations
    }
    
    /**
     *  Creates a new AccountingCode.  
     *
     *  Creates a new AccountingCode.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTAccountingCodeCreate1Test() throws ApiException {
        AccountingCodeDto accountingCodeDto = null;
        ActionStatus response = api.pOSTAccountingCodeCreate1(accountingCodeDto);

        // TODO: test validations
    }
    
    /**
     *  Create or update an AccountingCode. Checks if the code already exists.  
     *
     *  Create or update an AccountingCode. Checks if the code already exists.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTAccountingCodeCreateOrUpdate1Test() throws ApiException {
        AccountingCodeDto accountingCodeDto = null;
        ActionStatus response = api.pOSTAccountingCodeCreateOrUpdate1(accountingCodeDto);

        // TODO: test validations
    }
    
    /**
     *  List AccountingCode matching the given criteria.  
     *
     *  List AccountingCode matching the given criteria.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTAccountingCodeList1Test() throws ApiException {
        PagingAndFiltering pagingAndFiltering = null;
        AccountingCodeListResponseDto response = api.pOSTAccountingCodeList1(pagingAndFiltering);

        // TODO: test validations
    }
    
    /**
     *  Updates AccountingCode. An existing AccountingCode is search using the code field.  
     *
     *  Updates AccountingCode. An existing AccountingCode is search using the code field.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTAccountingCodeUpdate1Test() throws ApiException {
        AccountingCodeDto accountingCodeDto = null;
        ActionStatus response = api.pUTAccountingCodeUpdate1(accountingCodeDto);

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

        // TODO: test validations
    }
    
}
