public void When_Adding_a_route_Should_be_added_at_the_beginning() { var routecollection = new RouteCollection(); routecollection.MapRoute("first", "first"); routecollection.MapRoute("second", "second"); routecollection.InsertRoute(1, "area", new Route("area", new MvcRouteHandler())); Assert.That(routecollection.Count, Is.EqualTo(3)); }