示例#1
0
        public void LayDichVu_TestStatusResponse()
        {
            var dich_vu       = data_test.LayThongTinDichVu();
            var action_result = controller.LayDichVu(dich_vu.ID);
            //act
            var actual_result   = action_result as OkNegotiatedContentResult <DichVuDTO>;
            var expected_result = dich_vu.TenDichVu;

            //assert
            Assert.AreEqual(expected_result, actual_result.Content.TenDichVu);
        }