/*
 * 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.PagingAndFiltering;
import org.openapitools.client.model.RatedTransactionListResponseDto;
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 RatedTransactionApi
 */
@Ignore
public class RatedTransactionApiTest {

    private final RatedTransactionApi api = new RatedTransactionApi();

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

        // TODO: test validations
    }
    
    /**
     *  Get a list of rated transactions 
     *
     *  Get a list of rated transactions 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETRatedTransactionList1Test() throws ApiException {
        String query = null;
        String fields = null;
        Integer offset = null;
        Integer limit = null;
        String sortBy = null;
        String sortOrder = null;
        Boolean returnUserAccountCode = null;
        RatedTransactionListResponseDto response = api.gETRatedTransactionList1(query, fields, offset, limit, sortBy, sortOrder, returnUserAccountCode);

        // TODO: test validations
    }
    
    /**
     *  Call service to cancel one or many opened Rated Transactions according to the passed query, cancel an opened Rated Transaction is to set status to CANCELED
     *
     *  Call service to cancel one or many opened Rated Transactions according to the passed query, cancel an opened Rated Transaction is to set status to CANCELED.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTRatedTransactionCancelRatedTransactions1Test() throws ApiException {
        PagingAndFiltering pagingAndFiltering = null;
        ActionStatus response = api.pOSTRatedTransactionCancelRatedTransactions1(pagingAndFiltering);

        // TODO: test validations
    }
    
    /**
     *  Get a list of rated transactions 
     *
     *  Get a list of rated transactions 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTRatedTransactionList1Test() throws ApiException {
        PagingAndFiltering pagingAndFiltering = null;
        RatedTransactionListResponseDto response = api.pOSTRatedTransactionList1(pagingAndFiltering);

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

        // TODO: test validations
    }
    
}
