public void FindMatch_WillReturnValidResultForRootPath() { engine.Add(new PatternRoute("/") .DefaultForController().Is("home") .DefaultForAction().Is("index")); engine.Add(new PatternRoute("/<controller>/<action>")); var match = engine.FindMatch("/", CreateGetContext()); Assert.IsNotNull(match); Assert.AreEqual("home", match.Parameters["controller"]); Assert.AreEqual("index", match.Parameters["action"]); }