public ExtendedJsonResultTests() { httpContext = new Mock<HttpContextBase>(); controllerContext = new ControllerContext(httpContext.Object, new RouteData(), new Mock<ControllerBase>().Object); actionResult = new ExtendedJsonResult { JsonRequestBehavior = JsonRequestBehavior.AllowGet }; }
public ExtendedJsonResultTests() { httpContext = new Mock <HttpContextBase>(); controllerContext = new ControllerContext(httpContext.Object, new RouteData(), new Mock <ControllerBase>().Object); actionResult = new ExtendedJsonResult { JsonRequestBehavior = JsonRequestBehavior.AllowGet }; }