Exemplo n.º 1
0
        public void DepartmentAdd()
        {
            DepartmentMVCApp.Controllers.DepartmentController deptController = new DepartmentMVCApp.Controllers.DepartmentController();
            ViewResult result = deptController.Add() as ViewResult;

            Assert.IsNotNull(result);
        }
Exemplo n.º 2
0
        public void DepartmentEdit()
        {
            DepartmentMVCApp.Controllers.DepartmentController deptController = new DepartmentMVCApp.Controllers.DepartmentController();
            var        id     = Guid.Parse("ec858295-abb6-40cf-a058-26408187e03c");
            ViewResult result = deptController.Edit(id) as ViewResult;

            Assert.IsNotNull(result);
        }