/* 
 * TSE Cloud - CO
 *
 * This is Swagger Docs for Document WebApi Teamsystemn Enterprise Cloud, more detail at [https://swagger.io](https://swagger.io).
 *
 * OpenAPI spec version: v2025.3000
 * 
 * Generated by: https://github.com/swagger-api/swagger-codegen.git
 */
using System;
using System.IO;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using RestSharp;
using NUnit.Framework;

using IO.Swagger.Client;
using IO.Swagger.Api;
using IO.Swagger.Model;

namespace IO.Swagger.Test
{
    /// <summary>
    ///  Class for testing CustomerSupplierCOApi
    /// </summary>
    /// <remarks>
    /// This file is automatically generated by Swagger Codegen.
    /// Please update the test case below to test the API endpoint.
    /// </remarks>
    [TestFixture]
    public class CustomerSupplierCOApiTests
    {
        private CustomerSupplierCOApi instance;

        /// <summary>
        /// Setup before each unit test
        /// </summary>
        [SetUp]
        public void Init()
        {
            instance = new CustomerSupplierCOApi();
        }

        /// <summary>
        /// Clean up after each unit test
        /// </summary>
        [TearDown]
        public void Cleanup()
        {

        }

        /// <summary>
        /// Test an instance of CustomerSupplierCOApi
        /// </summary>
        [Test]
        public void InstanceTest()
        {
            // TODO uncomment below to test 'IsInstanceOfType' CustomerSupplierCOApi
            //Assert.IsInstanceOfType(typeof(CustomerSupplierCOApi), instance, "instance is a CustomerSupplierCOApi");
        }

        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOCreateintegrativedeclaretionPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOCreateintegrativedeclaretionPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //IntegrativeDeclarationParametersCODTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOCreateintegrativedeclaretionPost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<IntegrativeDeclarationResultDTO> (response, "response is IntegrativeDeclarationResultDTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOGet
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOGetTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //string op = null;
            //string param = null;
            //string environment = null;
            //string authorizationScope = null;
            //string company = null;
            //string user = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOGet(op, param, environment, authorizationScope, company, user, acceptLanguage, acceptTerritory);
            //Assert.IsInstanceOf<CustomerSupplierCODTO> (response, "response is CustomerSupplierCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOGetcswitheffectivepaymentconditionPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOGetcswitheffectivepaymentconditionPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //CSWithEffectivePaymentConditionParametersDTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOGetcswitheffectivepaymentconditionPost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<CustomerSupplierCODTO> (response, "response is CustomerSupplierCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOGetdefaultrevenueagencyPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOGetdefaultrevenueagencyPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //string environment = null;
            //string authorizationScope = null;
            //string company = null;
            //string user = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOGetdefaultrevenueagencyPost(environment, authorizationScope, company, user, acceptLanguage, acceptTerritory);
            //Assert.IsInstanceOf<SendingLetterResultDTO> (response, "response is SendingLetterResultDTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOGetfirstavailablenumnsprotletterofintentPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOGetfirstavailablenumnsprotletterofintentPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //GetFirstAvailableNumNsProtLetterOfIntentParametersDTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOGetfirstavailablenumnsprotletterofintentPost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<GetFirstAvailableNumNsProtLetterOfIntentResultDTO> (response, "response is GetFirstAvailableNumNsProtLetterOfIntentResultDTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOIdChkjointlyheldexistPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOIdChkjointlyheldexistPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //JointlyHeldCOAlreadyExistsParametersDTO body = null;
            //string authorizationScope = null;
            //int? id = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOIdChkjointlyheldexistPost(body, authorizationScope, id, environment, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<JointlyHeldCOAlreadyExistsResultDTO> (response, "response is JointlyHeldCOAlreadyExistsResultDTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOIdDelete
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOIdDeleteTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //string id = null;
            //string environment = null;
            //string authorizationScope = null;
            //string force = null;
            //bool? ignoreCompanyPolicyFilter = null;
            //string company = null;
            //string user = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //instance.ApiV1EnvironmentCOCustomerSupplierCOIdDelete(id, environment, authorizationScope, force, ignoreCompanyPolicyFilter, company, user, acceptLanguage, acceptTerritory);
            
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOIdDeleteallcsjointlyheldPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOIdDeleteallcsjointlyheldPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //int? id = null;
            //string environment = null;
            //string authorizationScope = null;
            //string company = null;
            //string user = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOIdDeleteallcsjointlyheldPost(id, environment, authorizationScope, company, user, acceptLanguage, acceptTerritory);
            //Assert.IsInstanceOf<JointlyHeldCOAlreadyExistsResultDTO> (response, "response is JointlyHeldCOAlreadyExistsResultDTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOIdGet
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOIdGetTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //string id = null;
            //string environment = null;
            //string authorizationScope = null;
            //bool? ignoreCompanyPolicyFilter = null;
            //string dlevel = null;
            //string dlevelkey = null;
            //string company = null;
            //string user = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOIdGet(id, environment, authorizationScope, ignoreCompanyPolicyFilter, dlevel, dlevelkey, company, user, acceptLanguage, acceptTerritory);
            //Assert.IsInstanceOf<CustomerSupplierCODTO> (response, "response is CustomerSupplierCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOIdGetnewcodscaglPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOIdGetnewcodscaglPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //int? id = null;
            //string environment = null;
            //string authorizationScope = null;
            //string company = null;
            //string user = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOIdGetnewcodscaglPost(id, environment, authorizationScope, company, user, acceptLanguage, acceptTerritory);
            //Assert.IsInstanceOf<GetNewCodScaglCSPaymentRangeResultDTO> (response, "response is GetNewCodScaglCSPaymentRangeResultDTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOIdPatch
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOIdPatchTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //Object body = null;
            //string authorizationScope = null;
            //string id = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //bool? ignoreCompanyPolicyFilter = null;
            //string force = null;
            //string op = null;
            //string company = null;
            //string user = null;
            //instance.ApiV1EnvironmentCOCustomerSupplierCOIdPatch(body, authorizationScope, id, environment, acceptLanguage, acceptTerritory, ignoreCompanyPolicyFilter, force, op, company, user);
            
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOIdPut
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOIdPutTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //CustomerSupplierCODTO body = null;
            //string authorizationScope = null;
            //string id = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string force = null;
            //bool? ignoreCompanyPolicyFilter = null;
            //string op = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOIdPut(body, authorizationScope, id, environment, acceptLanguage, acceptTerritory, force, ignoreCompanyPolicyFilter, op, company, user);
            //Assert.IsInstanceOf<CustomerSupplierCODTO> (response, "response is CustomerSupplierCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOInsertsendingletterPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOInsertsendingletterPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //SendingLettersToInsertParametersCODTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOInsertsendingletterPost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<SendingLetterResultDTO> (response, "response is SendingLetterResultDTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //CustomerSupplierCODTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //bool? ignoreCompanyPolicyFilter = null;
            //string op = null;
            //string force = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOPost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, ignoreCompanyPolicyFilter, op, force, company, user);
            //Assert.IsInstanceOf<CustomerSupplierCODTO> (response, "response is CustomerSupplierCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOUpdatevaluesaftergeneratesendingletterPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOUpdatevaluesaftergeneratesendingletterPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //UpdateParametersCODTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOUpdatevaluesaftergeneratesendingletterPost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<UpdateParametersResultDTO> (response, "response is UpdateParametersResultDTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOValidatePost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOValidatePostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //CustomerSupplierCODTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //instance.ApiV1EnvironmentCOCustomerSupplierCOValidatePost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOCustomerSupplierCOValidatePropertiesPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOCustomerSupplierCOValidatePropertiesPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //string authorizationScope = null;
            //string environment = null;
            //string body = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOCustomerSupplierCOValidatePropertiesPost(authorizationScope, environment, body, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<ValidateDTO> (response, "response is ValidateDTO");
        }
    }

}
