Beispiel #1
0
        public void LayDanhSachTaiKhoan_TestStatusResponse()
        {
            Data_Test data_Test = new Data_Test();
            var       count     = data_Test.DemSoLuongTaiKhoan();
            //Act
            IHttpActionResult actionResult = controller.LayDanhSachTaiKhoan();
            var actual_result = actionResult as OkNegotiatedContentResult <List <UserMasterDTO> >;

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