/*
 * 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.BillingAccountDto;
import org.openapitools.client.model.BillingAccountsResponseDto;
import org.openapitools.client.model.GetBillingAccountResponseDto;
import org.openapitools.client.model.GetCountersInstancesResponseDto;
import org.threeten.bp.OffsetDateTime;
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 BillingAccountApi
 */
@Ignore
public class BillingAccountApiTest {

    private final BillingAccountApi api = new BillingAccountApi();

    
    /**
     *  Remove a billing account with a Billing Account Code. 
     *
     *  Remove a billing account with a Billing Account Code. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEBillingAccountBillingAccountCode1Test() throws ApiException {
        String billingAccountCode = null;
        ActionStatus response = api.dELETEBillingAccountBillingAccountCode1(billingAccountCode);

        // TODO: test validations
    }
    
    /**
     *  filter counters by period date. 
     *
     *  filter counters by period date. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETBillingAccountFilterCountersByPeriod1Test() throws ApiException {
        String billingAccountCode = null;
        OffsetDateTime date = null;
        GetCountersInstancesResponseDto response = api.gETBillingAccountFilterCountersByPeriod1(billingAccountCode, date);

        // TODO: test validations
    }
    
    /**
     *  List BillingAccount filter by customerAccountCode.  
     *
     *  List BillingAccount filter by customerAccountCode.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETBillingAccountList1Test() throws ApiException {
        String customerAccountCode = null;
        BillingAccountsResponseDto response = api.gETBillingAccountList1(customerAccountCode);

        // TODO: test validations
    }
    
    /**
     *  Search for a billing account with a given code.  
     *
     *  Search for a billing account with a given code.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETBillingAccountSearch1Test() throws ApiException {
        String billingAccountCode = null;
        String inheritCF = null;
        GetBillingAccountResponseDto response = api.gETBillingAccountSearch1(billingAccountCode, inheritCF);

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

        // TODO: test validations
    }
    
    /**
     *  Create a new billing account.  
     *
     *  Create a new billing account.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTBillingAccountCreate1Test() throws ApiException {
        BillingAccountDto billingAccountDto = null;
        ActionStatus response = api.pOSTBillingAccountCreate1(billingAccountDto);

        // TODO: test validations
    }
    
    /**
     *  Create or update Billing Account based on code.  
     *
     *  Create or update Billing Account based on code.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTBillingAccountCreateOrUpdate1Test() throws ApiException {
        BillingAccountDto billingAccountDto = null;
        ActionStatus response = api.pOSTBillingAccountCreateOrUpdate1(billingAccountDto);

        // TODO: test validations
    }
    
    /**
     *  Update existing billing account.  
     *
     *  Update existing billing account.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTBillingAccountUpdate1Test() throws ApiException {
        BillingAccountDto billingAccountDto = null;
        ActionStatus response = api.pUTBillingAccountUpdate1(billingAccountDto);

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

        // TODO: test validations
    }
    
}
