コード例 #1
0
        public void Create()
        {
            CoffeeController controller = new CoffeeController();
            var result = controller.Create() as ViewResult;

            Assert.IsNotNull(result);
        }
コード例 #2
0
        public void Delete()
        {
            CoffeeController controller = new CoffeeController();
            var result = controller.Delete(1) as Task <ActionResult>;

            Assert.IsNotNull(result);
        }
コード例 #3
0
        public void CoffeeList()
        {
            CoffeeController controller = new CoffeeController();
            var result = controller.CoffeeList() as Task(ActionResults);

            Assert.IsNotNull(result);
        }