public void GetPromotionList_ReturnNotNull()
        {
            //Arr
            var KhuyenMaiUseCase = new KhuyenMaiUseCase();

            //Act
            List <KHUYENMAI> khuyenmailist = KhuyenMaiUseCase.LoadPromotionList();
            int actualCount = khuyenmailist.Count;

            //Assert
            Assert.IsTrue(actualCount > 0, "Danh sach khuyen mai dang rong");
        }
Esempio n. 2
0
 public List <KHUYENMAI> LoadPromotionList()
 {
     return(km.LoadPromotionList());
 }