Пример #1
0
        public ActionResult Create([PexAssumeUnderTest] ControleAlunosController target)
        {
            ActionResult result = target.Create();

            return(result);
            // TODO: adicionar declarações para método ControleAlunosControllerTest.Create(ControleAlunosController)
        }
Пример #2
0
 public void Update628()
 {
     using (PexDisposableContext disposables = PexDisposableContext.Create())
     {
         ControleAlunosController controleAlunosController;
         ActionResult             actionResult;
         controleAlunosController = new ControleAlunosController();
         ((Controller)controleAlunosController).Resolver         = (IDependencyResolver)null;
         ((Controller)controleAlunosController).ActionInvoker    = (IActionInvoker)null;
         ((Controller)controleAlunosController).TempDataProvider =
             (ITempDataProvider)null;
         ((Controller)controleAlunosController).Url = (UrlHelper)null;
         ((Controller)controleAlunosController).ViewEngineCollection =
             (ViewEngineCollection)null;
         ((ControllerBase)controleAlunosController).ControllerContext =
             (ControllerContext)null;
         ((ControllerBase)controleAlunosController).TempData        = (TempDataDictionary)null;
         ((ControllerBase)controleAlunosController).ValidateRequest = false;
         ((ControllerBase)controleAlunosController).ValueProvider   =
             (IValueProvider)null;
         ((ControllerBase)controleAlunosController).ViewData = (ViewDataDictionary)null;
         disposables.Add((IDisposable)controleAlunosController);
         actionResult = this.Update
                            (controleAlunosController, 0, (string)null, (string)null, (string)null);
         disposables.Dispose();
     }
 }
Пример #3
0
        public ActionResult Update(
            [PexAssumeUnderTest] ControleAlunosController target,
            int idAluno,
            string nomeAluno,
            string cpfAluno,
            string matriculaAluno
            )
        {
            ActionResult result = target.Update(idAluno, nomeAluno, cpfAluno, matriculaAluno);

            return(result);
            // TODO: adicionar declarações para método ControleAlunosControllerTest.Update(ControleAlunosController, Int32, String, String, String)
        }