/*
 * 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.DiscountPlanItemDto;
import org.openapitools.client.model.DiscountPlanItemResponseDto;
import org.openapitools.client.model.DiscountPlanItemsResponseDto;
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 DiscountPlanItemApi
 */
@Ignore
public class DiscountPlanItemApiTest {

    private final DiscountPlanItemApi api = new DiscountPlanItemApi();

    
    /**
     *  remove a discount plan item by code. 
     *
     *  remove a discount plan item by code. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void dELETEDiscountPlanItemDiscountPlanItemCode1Test() throws ApiException {
        String discountPlanItemCode = null;
        ActionStatus response = api.dELETEDiscountPlanItemDiscountPlanItemCode1(discountPlanItemCode);

        // TODO: test validations
    }
    
    /**
     *  List all discount plan items by current user. 
     *
     *  List all discount plan items by current user. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETDiscountPlanItemList1Test() throws ApiException {
        DiscountPlanItemsResponseDto response = api.gETDiscountPlanItemList1();

        // TODO: test validations
    }
    
    /**
     *  Find a discount plan item with a given code. 
     *
     *  Find a discount plan item with a given code. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void gETDiscountPlanItemSearch1Test() throws ApiException {
        String discountPlanItemCode = null;
        DiscountPlanItemResponseDto response = api.gETDiscountPlanItemSearch1(discountPlanItemCode);

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

        // TODO: test validations
    }
    
    /**
     *  Disable a Discount plan item with a given code  
     *
     *  Disable a Discount plan item with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTDiscountPlanItemCodeDisable1Test() throws ApiException {
        String code = null;
        ActionStatus response = api.pOSTDiscountPlanItemCodeDisable1(code);

        // TODO: test validations
    }
    
    /**
     *  Enable a Discount plan item with a given code  
     *
     *  Enable a Discount plan item with a given code  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTDiscountPlanItemCodeEnable1Test() throws ApiException {
        String code = null;
        ActionStatus response = api.pOSTDiscountPlanItemCodeEnable1(code);

        // TODO: test validations
    }
    
    /**
     *  Create a new discount plan item. 
     *
     *  Create a new discount plan item. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTDiscountPlanItemCreate1Test() throws ApiException {
        DiscountPlanItemDto discountPlanItemDto = null;
        ActionStatus response = api.pOSTDiscountPlanItemCreate1(discountPlanItemDto);

        // TODO: test validations
    }
    
    /**
     *  create/update a discount plan item. 
     *
     *  create/update a discount plan item. 
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pOSTDiscountPlanItemCreateOrUpdate1Test() throws ApiException {
        DiscountPlanItemDto discountPlanItemDto = null;
        ActionStatus response = api.pOSTDiscountPlanItemCreateOrUpdate1(discountPlanItemDto);

        // TODO: test validations
    }
    
    /**
     *  update an existed discount plan item.  
     *
     *  update an existed discount plan item.  
     *
     * @throws ApiException
     *          if the Api call fails
     */
    @Test
    public void pUTDiscountPlanItemUpdate1Test() throws ApiException {
        DiscountPlanItemDto discountPlanItemDto = null;
        ActionStatus response = api.pUTDiscountPlanItemUpdate1(discountPlanItemDto);

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

        // TODO: test validations
    }
    
}
