Ejemplo n.º 1
0
        public void List_Returns_ViewAction()
        {
            //Arrange
            var repo       = new Mock <IRepository <Technician> >();
            var controller = new TechnicianController(repo.Object);

            //Act
            var result = controller.List();

            //Assert
            Assert.IsType <ViewResult>(result);
        }