public void Route_CreatePathTester() { const string path = "/:controller/:action/:id"; var pathTester = Route.CreatePathTester(path); var pattern = pathTester.ToString(); Assert.AreEqual(@"^/(?<controller>.+)/(?<action>.+)/(?<id>.+)", pattern); }