public ActionResult EditTest01([PexAssumeUnderTest] MonedaController target, tbMoneda tbMoneda) { ActionResult result = target.Edit(tbMoneda); return(result); // TODO: agregar aserciones a método MonedaControllerTest.EditTest01(MonedaController, tbMoneda) }
public ActionResult EditTest([PexAssumeUnderTest] MonedaController target, short?id) { ActionResult result = target.Edit(id); return(result); // TODO: agregar aserciones a método MonedaControllerTest.EditTest(MonedaController, Nullable`1<Int16>) }
public ActionResult DeleteConfirmedTest([PexAssumeUnderTest] MonedaController target, short id) { ActionResult result = target.DeleteConfirmed(id); return(result); // TODO: agregar aserciones a método MonedaControllerTest.DeleteConfirmedTest(MonedaController, Int16) }
public ActionResult CreateTest([PexAssumeUnderTest] MonedaController target) { ActionResult result = target.Create(); return(result); // TODO: agregar aserciones a método MonedaControllerTest.CreateTest(MonedaController) }
public MonedaController ConstructorTest() { MonedaController target = new MonedaController(); return(target); // TODO: agregar aserciones a método MonedaControllerTest.ConstructorTest() }
public void Moneda_Edit() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { MonedaController monedaController; ActionResult actionResult; monedaController = new MonedaController(); ((Controller)monedaController).Resolver = (IDependencyResolver)null; ((Controller)monedaController).ActionInvoker = (IActionInvoker)null; ((Controller)monedaController).TempDataProvider = (ITempDataProvider)null; ((Controller)monedaController).Url = (UrlHelper)null; ((Controller)monedaController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)monedaController).ControllerContext = (ControllerContext)null; ((ControllerBase)monedaController).TempData = (TempDataDictionary)null; ((ControllerBase)monedaController).ValidateRequest = false; ((ControllerBase)monedaController).ValueProvider = (IValueProvider)null; ((ControllerBase)monedaController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)monedaController); actionResult = this.EditTest(monedaController, default(short?)); disposables.Dispose(); Assert.IsNotNull((object)monedaController); Assert.IsNotNull(((Controller)monedaController).AsyncManager); Assert.IsNotNull (((Controller)monedaController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)monedaController).AsyncManager.Parameters); Assert.AreEqual <int> (45000, ((Controller)monedaController).AsyncManager.Timeout); Assert.IsNull(((Controller)monedaController).Url); Assert.IsNull(((ControllerBase)monedaController).ControllerContext); Assert.AreEqual <bool> (false, ((ControllerBase)monedaController).ValidateRequest); } }