Beispiel #1
0
        public void LayDanhSachTienIch_TestStatusResponse()
        {
            var action_result = controller.LayDanhSachTienIch();
            //act
            var actual_result   = action_result as OkNegotiatedContentResult <List <TienIchDTO> >;
            var expected_result = data_test.SoLuongTienIch();

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