Example #1
0
        public void LayDanhSachDichVu_TestStatusResponse()
        {
            var action_result = controller.LayDanhSachDichVu();
            //act
            var actual_result = action_result as OkNegotiatedContentResult <List <DichVuDTO> >;
            var count         = data_test.SoLuongDichVu();

            //assert
            Assert.AreEqual(count, actual_result.Content.Count);
        }