/*
 * 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.CreditCategoryDto;
import org.openapitools.client.model.CustomerAccountDto;
import org.openapitools.client.model.CustomerAccountsResponseDto;
import org.openapitools.client.model.GetCustomerAccountResponseDto;
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 CustomerAccountApi
 */
@Ignore
public class CustomerAccountApiTest {

    private final CustomerAccountApi api = new CustomerAccountApi();

    
    /**
     *  Remove credit category with a given code.  
     *
     *  Remove credit category with a given code.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETECustomerAccountCreditCategoryCreditCategoryCode1Test() throws ApiException {
        String creditCategoryCode = null;
        ActionStatus response = api.dELETECustomerAccountCreditCategoryCreditCategoryCode1(creditCategoryCode);

        // TODO: test validations
    }
    
    /**
     *  Remove customerAccount with a given code.  
     *
     *  Remove customerAccount with a given code.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETECustomerAccountCustomerAccountCode1Test() throws ApiException {
        String customerAccountCode = null;
        ActionStatus response = api.dELETECustomerAccountCustomerAccountCode1(customerAccountCode);

        // TODO: test validations
    }
    
    /**
     *  List CustomerAccount filtered by customerCode.  
     *
     *  List CustomerAccount filtered by customerCode.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETCustomerAccountList1Test() throws ApiException {
        String customerCode = null;
        CustomerAccountsResponseDto response = api.gETCustomerAccountList1(customerCode);

        // TODO: test validations
    }
    
    /**
     *  Search for a customer account with a given code.  
     *
     *  Search for a customer account with a given code.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETCustomerAccountSearch1Test() throws ApiException {
        String customerAccountCode = null;
        Boolean calculateBalances = null;
        String inheritCF = null;
        GetCustomerAccountResponseDto response = api.gETCustomerAccountSearch1(customerAccountCode, calculateBalances, inheritCF);

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

        // TODO: test validations
    }
    
    /**
     *  Create a new customer account  
     *
     *  Create a new customer account  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTCustomerAccountCreate1Test() throws ApiException {
        CustomerAccountDto customerAccountDto = null;
        ActionStatus response = api.pOSTCustomerAccountCreate1(customerAccountDto);

        // TODO: test validations
    }
    
    /**
     *  Create new or update existing customer account  
     *
     *  Create new or update existing customer account  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTCustomerAccountCreateOrUpdate1Test() throws ApiException {
        CustomerAccountDto customerAccountDto = null;
        ActionStatus response = api.pOSTCustomerAccountCreateOrUpdate1(customerAccountDto);

        // TODO: test validations
    }
    
    /**
     *  Create a new credit category.  
     *
     *  Create a new credit category.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTCustomerAccountCreditCategory1Test() throws ApiException {
        CreditCategoryDto creditCategoryDto = null;
        ActionStatus response = api.pOSTCustomerAccountCreditCategory1(creditCategoryDto);

        // TODO: test validations
    }
    
    /**
     *  Update an existing customer account  
     *
     *  Update an existing customer account  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTCustomerAccountUpdate1Test() throws ApiException {
        CustomerAccountDto customerAccountDto = null;
        ActionStatus response = api.pUTCustomerAccountUpdate1(customerAccountDto);

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

        // TODO: test validations
    }
    
}
