/*
 * 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.ModelApiException;
import org.openapitools.client.model.Order;
import org.openapitools.client.model.Orders;
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 OrdersApi
 */
@Ignore
public class OrdersApiTest {

    private final OrdersApi api = new OrdersApi();

    
    /**
     * Returns the created order
     *
     * Returns the created order
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void createOrderTest() throws ApiException {
        Order order = null;
        Order response = api.createOrder(order);

        // TODO: test validations
    }
    
    /**
     * delete an existing order
     *
     * delete an existing order, and returns the deleted order
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void deleteOrderTest() throws ApiException {
        Long id = null;
        Order response = api.deleteOrder(id);

        // TODO: test validations
    }
    
    /**
     * delete more than one order
     *
     * delete more than one order
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void deleteOrder1Test() throws ApiException {
        List<Long> id = null;
        String response = api.deleteOrder1(id);

        // TODO: test validations
    }
    
    /**
     * Return an order
     *
     * Returns a single order
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void getOrderTest() throws ApiException {
        Long id = null;
        Order response = api.getOrder(id);

        // TODO: test validations
    }
    
    /**
     * Return a list of orders
     *
     * Returns a list of orders with pagination feature or non integers will simulate API error conditions
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void getOrdersTest() throws ApiException {
        Long offset = null;
        Long limit = null;
        String sort = null;
        String orderBy = null;
        String filter = null;
        Orders response = api.getOrders(offset, limit, sort, orderBy, filter);

        // TODO: test validations
    }
    
    /**
     * partially update an existing order
     *
     * update an existing order with a set of changes to apply to the order, and returns the updated order
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void patchOrderTest() throws ApiException {
        Long id = null;
        Order order = null;
        Order response = api.patchOrder(id, order);

        // TODO: test validations
    }
    
    /**
     * update an existing order
     *
     * update an existing order, and returns the updated order
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void updateOrderTest() throws ApiException {
        Long id = null;
        Order order = null;
        Order response = api.updateOrder(id, order);

        // TODO: test validations
    }
    
}
