Exemple #1
0
        public void GetFoodList_ReturnNotNull()
        {
            //Arr
            var monAnUseCase = new MonAnUseCase();

            //Act
            List <MONAN> foodlist    = monAnUseCase.LoadFoodList();
            var          actualCount = foodlist.Count;

            //Assert
            Assert.IsTrue(actualCount > 0, "Danh sach mon an dang rong");
        }
 public List <MONAN> LoadFoodList()
 {
     return(ma.LoadFoodList());
 }