Exemplo n.º 1
0
        public void Create()
        {
            CoffeeController controller = new CoffeeController();
            var result = controller.Create() as ViewResult;

            Assert.IsNotNull(result);
        }
Exemplo n.º 2
0
        public void Delete()
        {
            CoffeeController controller = new CoffeeController();
            var result = controller.Delete(1) as Task <ActionResult>;

            Assert.IsNotNull(result);
        }
Exemplo n.º 3
0
        public void CoffeeList()
        {
            CoffeeController controller = new CoffeeController();
            var result = controller.CoffeeList() as Task(ActionResults);

            Assert.IsNotNull(result);
        }