public void Returning_one_item_from_a_model()
        {
            var catModel = DataForTesting.OneCatData();


            Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AreEqual(1, catModel.Count);
        }
        public void Get_Newest_List_Item_retired()
        {
            var CatModel = DataForTesting.twoCatData();

            var newestItem = ShowNewestItem(CatModel);

            Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AreEqual(1, newestItem.Count);
        }
        public void Get_Newest_List_Item()
        {
            var  CatModel     = DataForTesting.twoCatData();
            bool newCatagory2 = true;
            bool oldCatagory2 = false;

            var newestItem = ShowNewestOrOldestItem(CatModel, newCatagory2, oldCatagory2);


            Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AreEqual(1, newestItem.Count);
        }
        public void Passing_Null_to_List_Item()
        {
            var  CatModel    = DataForTesting.twoCatData();
            bool newCatagory = false;
            bool oldCatagory = false;



            var nullItem = ShowNewestOrOldestItem(CatModel, newCatagory, oldCatagory);


            Microsoft.VisualStudio.TestTools.UnitTesting.Assert.IsNull(nullItem);
        }
        public void Returning_two_Peices_Of_Data()
        {
            IList <TestModel> CatModel = DataForTesting.twoCatData();

            NUnit.Framework.Assert.AreEqual(2, CatModel.Count);
        }