コード例 #1
0
        public void Task_Ticket_Checkout_OkResult()
        {
            Assert.Throws <NullReferenceException>(() =>
            {
                var controller = new TicketController();


                var data = controller.Checkout();
                Assert.IsType <RedirectToActionResult>(data);
            });
        }