public RouteInstaller_Tests() { urlModifier.Setup(m => m.Modify(It.IsAny <string>())) .Returns <string>(url => url); var container = new Mock <ICassetteApplicationContainer <ICassetteApplication> >(); container.SetupGet(c => c.Application.Bundles).Returns(Enumerable.Empty <Bundle>()); routing = new RouteInstaller(container.Object, "_cassette"); }
static void InstallRoutes() { var routing = new RouteInstaller(_container, UrlGenerator.RoutePrefix); routing.InstallRoutes(RouteTable.Routes); }