public ActionResult EditTest01([PexAssumeUnderTest] DenominacionController target, tbDenominacion tbDenominacion) { ActionResult result = target.Edit(tbDenominacion); return(result); // TODO: add assertions to method DenominacionControllerTest.EditTest01(DenominacionController, tbDenominacion) }
public ActionResult EditTest([PexAssumeUnderTest] DenominacionController target, short?id) { ActionResult result = target.Edit(id); return(result); // TODO: add assertions to method DenominacionControllerTest.EditTest(DenominacionController, Nullable`1<Int16>) }
public ActionResult DeleteConfirmedTest([PexAssumeUnderTest] DenominacionController target, short id) { ActionResult result = target.DeleteConfirmed(id); return(result); // TODO: add assertions to method DenominacionControllerTest.DeleteConfirmedTest(DenominacionController, Int16) }
public ActionResult CreateTest([PexAssumeUnderTest] DenominacionController target) { ActionResult result = target.Create(); return(result); // TODO: add assertions to method DenominacionControllerTest.CreateTest(DenominacionController) }
public DenominacionController ConstructorTest() { DenominacionController target = new DenominacionController(); return(target); // TODO: add assertions to method DenominacionControllerTest.ConstructorTest() }
public void CreateTest0137801() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { DenominacionController denominacionController; ActionResult actionResult; ControllerContext s0 = new ControllerContext(); s0.Controller = (ControllerBase)null; s0.HttpContext = (HttpContextBase)null; RequestContext s1 = new RequestContext(); s1.HttpContext = (HttpContextBase)null; s1.RouteData = (RouteData)null; s0.RequestContext = s1; s0.RouteData = (RouteData)null; denominacionController = new DenominacionController(); ((Controller)denominacionController).Resolver = (IDependencyResolver)null; ((Controller)denominacionController).ActionInvoker = (IActionInvoker)null; ((Controller)denominacionController).TempDataProvider = (ITempDataProvider)null; ((Controller)denominacionController).Url = (UrlHelper)null; ((Controller)denominacionController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)denominacionController).ControllerContext = s0; ((ControllerBase)denominacionController).TempData = (TempDataDictionary)null; ((ControllerBase)denominacionController).ValidateRequest = false; ((ControllerBase)denominacionController).ValueProvider = (IValueProvider)null; ((ControllerBase)denominacionController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)denominacionController); actionResult = this.CreateTest01(denominacionController, (tbDenominacion)null); disposables.Dispose(); Assert.IsNotNull((object)actionResult); Assert.IsNotNull((object)denominacionController); Assert.IsNotNull(((Controller)denominacionController).AsyncManager); Assert.IsNotNull (((Controller)denominacionController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)denominacionController).AsyncManager.Parameters); Assert.AreEqual <int> (45000, ((Controller)denominacionController).AsyncManager.Timeout); Assert.IsNull(((Controller)denominacionController).Url); Assert.IsNotNull(((ControllerBase)denominacionController).ControllerContext); Assert.IsNull (((ControllerBase)denominacionController).ControllerContext.Controller); Assert.AreEqual <bool> (false, ((ControllerBase)denominacionController).ValidateRequest); } }
public void DeleteTest354() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { DenominacionController denominacionController; ActionResult actionResult; denominacionController = new DenominacionController(); ((Controller)denominacionController).Resolver = (IDependencyResolver)null; ((Controller)denominacionController).ActionInvoker = (IActionInvoker)null; ((Controller)denominacionController).TempDataProvider = (ITempDataProvider)null; ((Controller)denominacionController).Url = (UrlHelper)null; ((Controller)denominacionController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)denominacionController).ControllerContext = (ControllerContext)null; ((ControllerBase)denominacionController).TempData = (TempDataDictionary)null; ((ControllerBase)denominacionController).ValidateRequest = false; ((ControllerBase)denominacionController).ValueProvider = (IValueProvider)null; ((ControllerBase)denominacionController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)denominacionController); actionResult = this.DeleteTest(denominacionController, default(short?)); disposables.Dispose(); Assert.IsNotNull((object)actionResult); Assert.IsNotNull((object)denominacionController); Assert.IsNotNull(((Controller)denominacionController).AsyncManager); Assert.IsNotNull (((Controller)denominacionController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)denominacionController).AsyncManager.Parameters); Assert.AreEqual <int> (45000, ((Controller)denominacionController).AsyncManager.Timeout); Assert.IsNull(((Controller)denominacionController).Url); Assert.IsNull(((ControllerBase)denominacionController).ControllerContext); Assert.AreEqual <bool> (false, ((ControllerBase)denominacionController).ValidateRequest); } }