[TestCase(" ")]    //failed
        public void TimBanAn(string noidung)
        {
            //Arr
            var BanAnUseCase  = new BanAnUseCase();
            var expectedCount = 1;

            //Act
            List <BANAN> timBanAn    = BanAnUseCase.TimBanAn(noidung);
            var          actualCount = timBanAn.Count;

            //Assert
            Assert.IsTrue(actualCount == expectedCount, "Khong tim thay ban");
        }
示例#2
0
 public List <BANAN> TimBanAn(string noidung)
 {
     return(table.TimBanAn(noidung));
 }