[TestCase(" ")]            //failed

        public void TimPhieuDatBan(string noidung)
        {
            //Arr
            var PhieuDatBanUseCase = new PhieuDatBanUseCase();
            var expectedCount      = 1;

            //Act
            List <PHIEUDATBAN> orderlist = PhieuDatBanUseCase.TimPhieuDatBan(noidung);
            var actualCount = orderlist.Count;


            //Assert
            Assert.IsTrue(actualCount == expectedCount, "Khong tim thay phieu dat ban");
        }
Пример #2
0
 public List <PHIEUDATBAN> TimPhieuDatBan(string noidung)
 {
     return(pdb.TimPhieuDatBan(noidung));
 }