{{>partial_header}}

using NUnit.Framework;

using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using {{packageName}}.Api;
using {{packageName}}.Model;
using {{packageName}}.Client;
using System.Reflection;

{{#models}}
{{#model}}
namespace {{packageName}}.Test
{
    /// <summary>
    ///  Class for testing {{classname}}
    /// </summary>
    /// <remarks>
    /// This file is automatically generated by Swagger Codegen.
    /// Please update the test case below to test the model.
    /// </remarks>
    [TestFixture]
    public class {{classname}}Tests
    {
        // TODO uncomment below to declare an instance variable for {{classname}}
        //private {{classname}} instance;

        /// <summary>
        /// Setup before each test
        /// </summary>
        [SetUp]
        public void Init()
        {
            // TODO uncomment below to create an instance of {{classname}}
            //instance = new {{classname}}();
        }

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

        }

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

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

    }

}
{{/model}}
{{/models}}
