public ActionResult EditTest([PexAssumeUnderTest] NotaCreditoController target, short?id)
        {
            ActionResult result = target.Edit(id);

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

            return(result);
            // TODO: agregar aserciones a método NotaCreditoControllerTest.CreateTest01(NotaCreditoController, tbNotaCredito)
        }
        public ActionResult DeleteConfirmedTest([PexAssumeUnderTest] NotaCreditoController target, short id)
        {
            ActionResult result = target.DeleteConfirmed(id);

            return(result);
            // TODO: agregar aserciones a método NotaCreditoControllerTest.DeleteConfirmedTest(NotaCreditoController, Int16)
        }
        public NotaCreditoController ConstructorTest()
        {
            NotaCreditoController target = new NotaCreditoController();

            return(target);
            // TODO: agregar aserciones a método NotaCreditoControllerTest.ConstructorTest()
        }
        public ActionResult _IndexDevolucionTest([PexAssumeUnderTest] NotaCreditoController target, int?id)
        {
            ActionResult result = target._IndexDevolucion(id);

            return(result);
            // TODO: agregar aserciones a método NotaCreditoControllerTest._IndexDevolucionTest(NotaCreditoController, Nullable`1<Int32>)
        }
        public ActionResult IndexTest([PexAssumeUnderTest] NotaCreditoController target)
        {
            ActionResult result = target.Index();

            return(result);
            // TODO: agregar aserciones a método NotaCreditoControllerTest.IndexTest(NotaCreditoController)
        }
        public JsonResult AnularNotaCreditoTest(
            [PexAssumeUnderTest] NotaCreditoController target,
            short nocreId,
            bool Anulado
            )
        {
            JsonResult result = target.AnularNotaCredito(nocreId, Anulado);

            return(result);
            // TODO: agregar aserciones a método NotaCreditoControllerTest.AnularNotaCreditoTest(NotaCreditoController, Int16, Boolean)
        }
        public JsonResult GetCodigoNotaCreditoTest(
            [PexAssumeUnderTest] NotaCreditoController target,
            int CodSucursal,
            short CodCaja
            )
        {
            JsonResult result = target.GetCodigoNotaCredito(CodSucursal, CodCaja);

            return(result);
            // TODO: agregar aserciones a método NotaCreditoControllerTest.GetCodigoNotaCreditoTest(NotaCreditoController, Int32, Int16)
        }
 public void CreateTest0133502()
 {
     using (PexDisposableContext disposables = PexDisposableContext.Create())
     {
         RouteData             routeData;
         NotaCreditoController notaCreditoController;
         ActionResult          actionResult;
         routeData = new RouteData((RouteBase)null, (IRouteHandler)null);
         ControllerContext s0 = new ControllerContext();
         s0.Controller  = (ControllerBase)null;
         s0.HttpContext = (HttpContextBase)null;
         RequestContext s1 = new RequestContext();
         s1.HttpContext        = (HttpContextBase)null;
         s1.RouteData          = routeData;
         s0.RequestContext     = s1;
         s0.RouteData          = (RouteData)null;
         notaCreditoController = new NotaCreditoController();
         ((Controller)notaCreditoController).Resolver         = (IDependencyResolver)null;
         ((Controller)notaCreditoController).ActionInvoker    = (IActionInvoker)null;
         ((Controller)notaCreditoController).TempDataProvider = (ITempDataProvider)null;
         ((Controller)notaCreditoController).Url = (UrlHelper)null;
         ((Controller)notaCreditoController).ViewEngineCollection =
             (ViewEngineCollection)null;
         ((ControllerBase)notaCreditoController).ControllerContext = s0;
         ((ControllerBase)notaCreditoController).TempData          = (TempDataDictionary)null;
         ((ControllerBase)notaCreditoController).ValidateRequest   = false;
         ((ControllerBase)notaCreditoController).ValueProvider     = (IValueProvider)null;
         ((ControllerBase)notaCreditoController).ViewData          = (ViewDataDictionary)null;
         disposables.Add((IDisposable)notaCreditoController);
         actionResult = this.CreateTest01(notaCreditoController, (tbNotaCredito)null);
         disposables.Dispose();
         Assert.IsNotNull((object)notaCreditoController);
         Assert.IsNotNull(((Controller)notaCreditoController).AsyncManager);
         Assert.IsNotNull
             (((Controller)notaCreditoController).AsyncManager.OutstandingOperations);
         Assert.IsNotNull(((Controller)notaCreditoController).AsyncManager.Parameters);
         Assert.AreEqual <int>
             (45000, ((Controller)notaCreditoController).AsyncManager.Timeout);
         Assert.IsNull(((Controller)notaCreditoController).Url);
         Assert.IsNotNull(((ControllerBase)notaCreditoController).ControllerContext);
         Assert.IsNull
             (((ControllerBase)notaCreditoController).ControllerContext.Controller);
         Assert.AreEqual <bool>
             (false, ((ControllerBase)notaCreditoController).ValidateRequest);
     }
 }
 public void CreateTest0160502()
 {
     using (PexDisposableContext disposables = PexDisposableContext.Create())
     {
         ViewEngineCollection  viewEngineCollection;
         NotaCreditoController notaCreditoController;
         ActionResult          actionResult;
         IViewEngine[]         iViewEngines = new IViewEngine[0];
         viewEngineCollection =
             new ViewEngineCollection((IList <IViewEngine>)iViewEngines);
         notaCreditoController = new NotaCreditoController();
         ((Controller)notaCreditoController).Resolver         = (IDependencyResolver)null;
         ((Controller)notaCreditoController).ActionInvoker    = (IActionInvoker)null;
         ((Controller)notaCreditoController).TempDataProvider = (ITempDataProvider)null;
         ((Controller)notaCreditoController).Url = (UrlHelper)null;
         ((Controller)notaCreditoController).ViewEngineCollection =
             viewEngineCollection;
         ((ControllerBase)notaCreditoController).ControllerContext =
             (ControllerContext)null;
         ((ControllerBase)notaCreditoController).TempData        = (TempDataDictionary)null;
         ((ControllerBase)notaCreditoController).ValidateRequest = false;
         ((ControllerBase)notaCreditoController).ValueProvider   = (IValueProvider)null;
         ((ControllerBase)notaCreditoController).ViewData        = (ViewDataDictionary)null;
         disposables.Add((IDisposable)notaCreditoController);
         actionResult = this.CreateTest01(notaCreditoController, (tbNotaCredito)null);
         disposables.Dispose();
         Assert.IsNotNull((object)notaCreditoController);
         Assert.IsNotNull(((Controller)notaCreditoController).AsyncManager);
         Assert.IsNotNull
             (((Controller)notaCreditoController).AsyncManager.OutstandingOperations);
         Assert.IsNotNull(((Controller)notaCreditoController).AsyncManager.Parameters);
         Assert.AreEqual <int>
             (45000, ((Controller)notaCreditoController).AsyncManager.Timeout);
         Assert.IsNull(((Controller)notaCreditoController).Url);
         Assert.IsNull(((ControllerBase)notaCreditoController).ControllerContext);
         Assert.AreEqual <bool>
             (false, ((ControllerBase)notaCreditoController).ValidateRequest);
     }
 }