/*
 * 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.OrderItem;
import org.openapitools.client.model.OrderItems;
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 OrderItemsApi
 */
@Ignore
public class OrderItemsApiTest {

    private final OrderItemsApi api = new OrderItemsApi();

    
    /**
     * Returns the created order-item
     *
     * Returns the created order-item
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void createOrderItemTest() throws ApiException {
        OrderItem orderItem = null;
        OrderItem response = api.createOrderItem(orderItem);

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

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

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

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

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

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

        // TODO: test validations
    }
    
}
