Esempio n. 1
0
        public void DeleteAll_Get_AsksForDeleteAllView()
        {
            Mock <EmployeeService> mock       = new Mock <EmployeeService>();
            EmployeeController     controller = GetNewEmployeeController(mock.Object, null, null);

            ViewResult result = controller.DeleteAll() as ViewResult;

            Assert.AreEqual("DeleteAll", result.ViewName);
        }