{{>partial_header}}

using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using {{packageName}}.{{apiPackage}};
using {{packageName}}.{{modelPackage}};
using {{packageName}}.{{clientPackage}};
using System.Reflection;
using Newtonsoft.Json;
using NUnit.Framework;

{{#models}}
{{#model}}
namespace {{packageName}}.Test.Model
{
    /// <summary>
    ///  Class for testing {{classname}}
    /// </summary>
    /// <remarks>
    /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
    /// Please update the test case below to test the model.
    /// </remarks>
    public class {{classname}}Tests : IDisposable
    {
        // TODO uncomment below to declare an instance variable for {{classname}}
        //private {{classname}} instance;

        public {{classname}}Tests()
        {
            // TODO uncomment below to create an instance of {{classname}}
            //instance = new {{classname}}();
        }

        public void Dispose()
        {
            // Cleanup when everything is done.
        }

        /// <summary>
        /// Test an instance of {{classname}}
        /// </summary>
        [Test]
        public void {{classname}}InstanceTest()
        {
            // TODO uncomment below to test "IsType" {{classname}}
            //Assert.IsType<{{classname}}>(instance);
        }

        {{#vars}}
        /// <summary>
        /// Test the property '{{name}}'
        /// </summary>
        [Test]
        public void {{name}}Test()
        {
            // TODO unit test for the property '{{name}}'
        }
        {{/vars}}
    }
}
{{/model}}
{{/models}}
