/*
 * 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.CdrListDto;
import org.openapitools.client.model.CdrReservationResponseDto;
import org.openapitools.client.model.ChargeCDRResponseDto;
import org.openapitools.client.model.PrepaidReservationDto;
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 MediationApi
 */
@Ignore
public class MediationApiTest {

    private final MediationApi api = new MediationApi();

    
    /**
     *  Get version of application  
     *
     *  Get version of application  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETIBaseVersion39Test() throws ApiException {
        ActionStatus response = api.gETIBaseVersion39();

        // TODO: test validations
    }
    
    /**
     *  Cancels the reservation  
     *
     *  Cancels the reservation  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTMediationCancelReservation1Test() throws ApiException {
        PrepaidReservationDto prepaidReservationDto = null;
        ActionStatus response = api.pOSTMediationCancelReservation1(prepaidReservationDto);

        // TODO: test validations
    }
    
    /**
     *  Same as registerCdrList, but at the same process rate the EDR created  
     *
     *  Same as registerCdrList, but at the same process rate the EDR created  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTMediationChargeCdr1Test() throws ApiException {
        Boolean isVirtual = null;
        Boolean rateTriggeredEdr = null;
        Boolean returnWalletOperations = null;
        Integer maxDepth = null;
        String body = null;
        ChargeCDRResponseDto response = api.pOSTMediationChargeCdr1(isVirtual, rateTriggeredEdr, returnWalletOperations, maxDepth, body);

        // TODO: test validations
    }
    
    /**
     *  Confirms the reservation  
     *
     *  Confirms the reservation  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTMediationConfirmReservation1Test() throws ApiException {
        PrepaidReservationDto prepaidReservationDto = null;
        ActionStatus response = api.pOSTMediationConfirmReservation1(prepaidReservationDto);

        // TODO: test validations
    }
    
    /**
     *  Notify of rejected CDRs  
     *
     *  Notify of rejected CDRs  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTMediationNotifyOfRejectedCdrs1Test() throws ApiException {
        CdrListDto cdrListDto = null;
        ActionStatus response = api.pOSTMediationNotifyOfRejectedCdrs1(cdrListDto);

        // TODO: test validations
    }
    
    /**
     *  Accepts a list of CDR line. This CDR is parsed and created as EDR. CDR is same format use in mediation job  
     *
     *  Accepts a list of CDR line. This CDR is parsed and created as EDR. CDR is same format use in mediation job  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTMediationRegisterCdrList1Test() throws ApiException {
        CdrListDto cdrListDto = null;
        ActionStatus response = api.pOSTMediationRegisterCdrList1(cdrListDto);

        // TODO: test validations
    }
    
    /**
     *  Allows the user to reserve a CDR, this will create a new reservation entity attached to a wallet operation
     *
     *  Allows the user to reserve a CDR, this will create a new reservation entity attached to a wallet operation. A reservation has expiration limit save in the provider entity (PREPAID_RESRV_DELAY_MS)  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTMediationReserveCdr1Test() throws ApiException {
        String body = null;
        CdrReservationResponseDto response = api.pOSTMediationReserveCdr1(body);

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

        // TODO: test validations
    }
    
}
