Inheritance: UCosmic.Www.Mvc.Controllers.MvcRoute
 public void InBoundUrl_WithAnyMethod_IsRouted()
 {
     Expression<Func<ErrorsController, ActionResult>> action =
         controller => controller.FileUploadTooLarge(null);
     var url = new ErrorsRouter.FileUploadTooLargeRoute().Url.ToAppRelativeUrl();
     url.WithAnyMethod().ShouldMapTo(action);
 }
 public void OutBoundUrl_IsRouted()
 {
     Expression<Func<ErrorsController, ActionResult>> action =
         controller => controller.FileUploadTooLarge(null);
     var url = new ErrorsRouter.FileUploadTooLargeRoute().Url.ToAppRelativeUrl();
     OutBoundRoute.Of(action).InArea(Area).AppRelativeUrl().ShouldEqual(url);
 }
            public void InBoundUrl_WithAnyMethod_IsRouted()
            {
                Expression <Func <ErrorsController, ActionResult> > action =
                    controller => controller.FileUploadTooLarge(null);
                var url = new ErrorsRouter.FileUploadTooLargeRoute().Url.ToAppRelativeUrl();

                url.WithAnyMethod().ShouldMapTo(action);
            }
            public void OutBoundUrl_IsRouted()
            {
                Expression <Func <ErrorsController, ActionResult> > action =
                    controller => controller.FileUploadTooLarge(null);
                var url = new ErrorsRouter.FileUploadTooLargeRoute().Url.ToAppRelativeUrl();

                OutBoundRoute.Of(action).InArea(Area).AppRelativeUrl().ShouldEqual(url);
            }