/*
 * OpenAPI Petstore
 *
 * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
 *
 * The version of the OpenAPI document: 1.0.0
 * Generated by: https://github.com/openapitools/openapi-generator.git
 */


using Xunit;

using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using Org.OpenAPITools.Model;
using Org.OpenAPITools.Client;
using System.Reflection;

namespace Org.OpenAPITools.Test.Model
{
    /// <summary>
    ///  Class for testing GrandparentAnimal
    /// </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 GrandparentAnimalTests : IDisposable
    {
        // TODO uncomment below to declare an instance variable for GrandparentAnimal
        //private GrandparentAnimal instance;

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

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

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

        /// <summary>
        /// Test deserialize a ChildCat from type ParentPet
        /// </summary>
        [Fact]
        public void ChildCatDeserializeFromParentPetTest()
        {
            // TODO uncomment below to test deserialize a ChildCat from type ParentPet
            //Assert.IsType<ParentPet>(JsonConvert.DeserializeObject<ParentPet>(new ChildCat().ToJson()));
        }

        /// <summary>
        /// Test deserialize a ParentPet from type GrandparentAnimal
        /// </summary>
        [Fact]
        public void ParentPetDeserializeFromGrandparentAnimalTest()
        {
            // TODO uncomment below to test deserialize a ParentPet from type GrandparentAnimal
            //Assert.IsType<GrandparentAnimal>(JsonConvert.DeserializeObject<GrandparentAnimal>(new ParentPet().ToJson()));
        }

        /// <summary>
        /// Test the property 'PetType'
        /// </summary>
        [Fact]
        public void PetTypeTest()
        {
            // TODO unit test for the property 'PetType'
        }
    }
}
