コード例 #1
0
        public void Task_Get_All_HotelRoom_Return_OkResult()
        {
            //Arrange
            var controller = new HotelRoomController(context);
            //Act
            var data = controller.Index();

            //Assert
            Assert.IsType <ViewResult>(data);
        }