/* 
 * 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 PaymentTermCOApi
    /// </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 PaymentTermCOApiTests
    {
        private PaymentTermCOApi instance;

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

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

        }

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

        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOCalculateSumPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOCalculateSumPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //PaymentTermDetailCOParametersDTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOPaymentTermCOCalculateSumPost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<PaymentTermDetailCalculationResultCODTO> (response, "response is PaymentTermDetailCalculationResultCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOGet
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOGetTest()
        {
            // 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.ApiV1EnvironmentCOPaymentTermCOGet(op, param, environment, authorizationScope, company, user, acceptLanguage, acceptTerritory);
            //Assert.IsInstanceOf<PaymentTermCODTO> (response, "response is PaymentTermCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOGetFromCodePost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOGetFromCodePostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //CodePaymentTermCOParametersDTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //var response = instance.ApiV1EnvironmentCOPaymentTermCOGetFromCodePost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<PaymentTermCODTO> (response, "response is PaymentTermCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOIdDelete
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOIdDeleteTest()
        {
            // 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.ApiV1EnvironmentCOPaymentTermCOIdDelete(id, environment, authorizationScope, force, ignoreCompanyPolicyFilter, company, user, acceptLanguage, acceptTerritory);
            
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOIdGet
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOIdGetTest()
        {
            // 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.ApiV1EnvironmentCOPaymentTermCOIdGet(id, environment, authorizationScope, ignoreCompanyPolicyFilter, dlevel, dlevelkey, company, user, acceptLanguage, acceptTerritory);
            //Assert.IsInstanceOf<PaymentTermCODTO> (response, "response is PaymentTermCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOIdPatch
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOIdPatchTest()
        {
            // 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.ApiV1EnvironmentCOPaymentTermCOIdPatch(body, authorizationScope, id, environment, acceptLanguage, acceptTerritory, ignoreCompanyPolicyFilter, force, op, company, user);
            
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOIdPut
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOIdPutTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //PaymentTermCODTO 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.ApiV1EnvironmentCOPaymentTermCOIdPut(body, authorizationScope, id, environment, acceptLanguage, acceptTerritory, force, ignoreCompanyPolicyFilter, op, company, user);
            //Assert.IsInstanceOf<PaymentTermCODTO> (response, "response is PaymentTermCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOPaymentTermDuplicationPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOPaymentTermDuplicationPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //PaymentTermDuplicationParametersCODTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //instance.ApiV1EnvironmentCOPaymentTermCOPaymentTermDuplicationPost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOPostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //PaymentTermCODTO 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.ApiV1EnvironmentCOPaymentTermCOPost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, ignoreCompanyPolicyFilter, op, force, company, user);
            //Assert.IsInstanceOf<PaymentTermCODTO> (response, "response is PaymentTermCODTO");
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOValidatePost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOValidatePostTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            //PaymentTermCODTO body = null;
            //string authorizationScope = null;
            //string environment = null;
            //string acceptLanguage = null;
            //string acceptTerritory = null;
            //string company = null;
            //string user = null;
            //instance.ApiV1EnvironmentCOPaymentTermCOValidatePost(body, authorizationScope, environment, acceptLanguage, acceptTerritory, company, user);
            
        }
        /// <summary>
        /// Test ApiV1EnvironmentCOPaymentTermCOValidatePropertiesPost
        /// </summary>
        [Test]
        public void ApiV1EnvironmentCOPaymentTermCOValidatePropertiesPostTest()
        {
            // 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.ApiV1EnvironmentCOPaymentTermCOValidatePropertiesPost(authorizationScope, environment, body, acceptLanguage, acceptTerritory, company, user);
            //Assert.IsInstanceOf<ValidateDTO> (response, "response is ValidateDTO");
        }
    }

}
