public void When_Adding_a_route_after_an_existing_one_Should_be_added_at_the_existing_route_plus_one() { var routecollection = new RouteCollection(); routecollection.MapRoute("first", "first"); routecollection.MapRoute("second", "second"); routecollection.MapRoute("third", "third"); routecollection.MapRoute("fourth", "fourth"); routecollection.InsertRouteAfter("fourth", "area", new Route("area", new MvcRouteHandler())); Assert.That(routecollection.Count, Is.EqualTo(5)); }