internal static Route ShouldBeRoute( this RouteBase subject, string url, string controller = null, string action = null, object defaults = null, object constraints = null, object dataTokens = null) { var expected = RoutingTests.Route(url, controller, action, defaults, constraints, dataTokens); return(subject.ShouldBeRoute(expected)); }