[TestCase(" ", " ", " ", " ")]                 //failed
        public void UpdateSLMonCTHD(string mahd, string mam, int slmon, decimal tongtien)
        {
            //Arr
            var CTHDUseCase   = new CTHDUseCase();
            var expectedCount = 1;

            //Act
            int actualCount = CTHDUseCase.UpdateSLMonCTHD(mahd, mam, slmon, tongtien);

            //Assert
            Assert.IsTrue(actualCount == expectedCount, "Cap nhat that bai");
        }
Esempio n. 2
0
 public int UpdateSLMonCTHD(string mahd, string mam, int slmon, decimal tongtien)
 {
     return(cthd.UpdateSLMonCTHD(mahd, mam, slmon, tongtien));
 }