using System;
using <<|=BOPROJECTNAME|>>;
using Habanero.BO;
using NUnit.Framework;
using Habanero.Testability;
using Habanero.BO.ClassDefinition;

namespace <<|=BOTestProjectName|>>
{
    /// <summary>
    /// This is just a short test class to validate the classdefs.
    /// </summary>
	[TestFixture]
    public class TestClassDefValid
	{
       [TestFixtureSetUp]
     public void SetupTestFixture() 
	 {
      // TestBase.SetupTestFixture();
     TestBase.RefreshClassDefs();
     }

      [Test]
     public void Test_ValidateClassDefs() 
	 {
     //---------------Set up test pack------------------- 

     //---------------Assert Precondition----------------
     //ClassDef.ClassDefs.ShouldNotBeEmpty();
	  Assert.IsNotNullOrEmpty(ClassDef.ClassDefs.ToString());
     //---------------Execute Test ----------------------
     var validator = new ClassDefValidator(new DefClassFactory());
     validator.ValidateClassDefs(ClassDef.ClassDefs);
     }
    } 
}