public ActionResult IndexTest([PexAssumeUnderTest] SucursalController target)
        {
            ActionResult result = target.Index();

            return(result);
            // TODO: agregar aserciones a método SucursalControllerTest.IndexTest(SucursalController)
        }
Пример #2
0
        public void Index()
        {
            //// Arrange
            //HomeController controller = new HomeController();

            //// Act
            //ViewResult result = controller.Index() as ViewResult;

            SucursalController controller = new SucursalController();
            ViewResult         result     = controller.Index() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }