public ActionResult DetailsTest([PexAssumeUnderTest] PagoController target, int?id) { ActionResult result = target.Details(id); return(result); // TODO: agregar aserciones a método PagoControllerTest.DetailsTest(PagoController, Nullable`1<Int32>) }
public void DetailsTest198() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { PagoController pagoController; ActionResult actionResult; pagoController = new PagoController(); ((Controller)pagoController).Resolver = (IDependencyResolver)null; ((Controller)pagoController).ActionInvoker = (IActionInvoker)null; ((Controller)pagoController).TempDataProvider = (ITempDataProvider)null; ((Controller)pagoController).Url = (UrlHelper)null; ((Controller)pagoController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)pagoController).ControllerContext = (ControllerContext)null; ((ControllerBase)pagoController).TempData = (TempDataDictionary)null; ((ControllerBase)pagoController).ValidateRequest = false; ((ControllerBase)pagoController).ValueProvider = (IValueProvider)null; ((ControllerBase)pagoController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)pagoController); actionResult = this.DetailsTest(pagoController, default(int?)); disposables.Dispose(); Assert.IsNotNull((object)pagoController); Assert.IsNotNull(((Controller)pagoController).AsyncManager); Assert.IsNotNull (((Controller)pagoController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)pagoController).AsyncManager.Parameters); Assert.AreEqual <int>(45000, ((Controller)pagoController).AsyncManager.Timeout); Assert.IsNull(((Controller)pagoController).Url); Assert.IsNull(((ControllerBase)pagoController).ControllerContext); Assert.AreEqual <bool>(false, ((ControllerBase)pagoController).ValidateRequest); } }
public ActionResult CreateTest01([PexAssumeUnderTest] PagoController target, tbPago tbPago) { ActionResult result = target.Create(tbPago); return(result); // TODO: agregar aserciones a método PagoControllerTest.CreateTest01(PagoController, tbPago) }
public ActionResult DeleteConfirmedTest([PexAssumeUnderTest] PagoController target, int id) { ActionResult result = target.DeleteConfirmed(id); return(result); // TODO: agregar aserciones a método PagoControllerTest.DeleteConfirmedTest(PagoController, Int32) }
public JsonResult BuscarFacturaIdTest([PexAssumeUnderTest] PagoController target, int fId) { JsonResult result = target.BuscarFacturaId(fId); return(result); // TODO: agregar aserciones a método PagoControllerTest.BuscarFacturaIdTest(PagoController, Int32) }
public PagoController ConstructorTest() { PagoController target = new PagoController(); return(target); // TODO: agregar aserciones a método PagoControllerTest.ConstructorTest() }
public ActionResult IndexPagoFacturaTest([PexAssumeUnderTest] PagoController target) { ActionResult result = target.IndexPagoFactura(); return(result); // TODO: agregar aserciones a método PagoControllerTest.IndexPagoFacturaTest(PagoController) }
public JsonResult GetFacturaListTest([PexAssumeUnderTest] PagoController target, long tbFactura_clte_Id) { JsonResult result = target.GetFacturaList(tbFactura_clte_Id); return(result); // TODO: agregar aserciones a método PagoControllerTest.GetFacturaListTest(PagoController, Int64) }
public JsonResult AnularPagoTest( [PexAssumeUnderTest] PagoController target, int pago_Id, bool PagoAnulado, string RazonAnulado ) { JsonResult result = target.AnularPago(pago_Id, PagoAnulado, RazonAnulado); return(result); // TODO: agregar aserciones a método PagoControllerTest.AnularPagoTest(PagoController, Int32, Boolean, String) }
public void CreateTest798() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { PagoController pagoController; ActionResult actionResult; SessionStateTempDataProvider s0 = new SessionStateTempDataProvider(); pagoController = new PagoController(); ((Controller)pagoController).Resolver = (IDependencyResolver)null; ((Controller)pagoController).ActionInvoker = (IActionInvoker)null; ((Controller)pagoController).TempDataProvider = (ITempDataProvider)s0; ((Controller)pagoController).Url = (UrlHelper)null; ((Controller)pagoController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)pagoController).ControllerContext = (ControllerContext)null; ((ControllerBase)pagoController).TempData = (TempDataDictionary)null; ((ControllerBase)pagoController).ValidateRequest = false; ((ControllerBase)pagoController).ValueProvider = (IValueProvider)null; ((ControllerBase)pagoController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)pagoController); actionResult = this.CreateTest(pagoController); disposables.Dispose(); } }