1..65 # ->matchesUrl() ok 1 - ->matchesUrl() takes a URL as its first argument ok 2 - ->matchesUrl() returns false if the route does not match ok 3 - ->matchesUrl() returns default values for parameters not in the route ok 4 - ->matchesUrl() returns variables from the pattern ok 5 - ->matchesUrl() overrides default value with pattern value ok 6 - ->matchesUrl() matches routes with an optional parameter at the end ok 7 - ->matchesUrl() matches routes with an optional parameter at the end, even if it is null ok 8 - ->matchesUrl() matches routes with an optional parameter at the end, even if it is empty ok 9 - ->matchesUrl() does not match routes with an empty parameter not at the end ok 10 - ->matchesUrl() does not match routes with an empty parameter not at the end ok 11 - ->matchesUrl() matches routes with an optional parameter at the end ok 12 - ->matchesUrl() matches routes with multiple optionals parameters at the end ok 13 - ->matchesUrl() gets default parameters from the routing object if it exists ok 14 - ->matchesUrl() overrides routing default parameters with route default parameters ok 15 - ->matchesUrl() overrides routing default parameters with pattern parameters ok 16 - ->matchesUrl() enforces requirements ok 17 - ->matchesUrl() enforces requirements # ->matchesParameters() ok 18 - ->matchesParameters() returns false if the argument is not an array of parameters ok 19 - ->matchesParameters() returns false if one of the pattern variable is not provided ok 20 - ->matchesParameters() merges the default parameters with the provided parameters to match the route ok 21 - ->matchesParameters() matches if all variables are given as parameters ok 22 - ->matchesParameters() matches if optional parameters empty ok 23 - ->matchesParameters() matches if optional parameters empty ok 24 - ->matchesParameters() merges the routing default parameters with the provided parameters to match the route ok 25 - ->matchesParameters() enforces requirements ok 26 - ->matchesParameters() enforces requirements ok 27 - ->matchesParameters() checks that there is no parameter that is not a pattern variable ok 28 - ->matchesParameters() can override a parameter that is not a pattern variable if the value is the same as the default one ok 29 - ->matchesParameters() can override a parameter that is not a pattern variable if the value is the same as the default one ok 30 - ->generate() matches even if there are extra parameters ok 31 - ->generate() does not match if there are extra parameters if extra_parameters_as_query_string is set to false # ->generate() ok 32 - ->generate() generates a URL with the given parameters ok 33 - ->generate() replaces longer variables first ok 34 - ->generate() generates a route if a variable is empty ok 35 - ->generate() generates a route if a variable is empty ok 36 - ->generate() generates extra parameters as a query string ok 37 - ->generate() ignores extra parameters if extra_parameters_as_query_string is false ok 38 - ->generate() adds extra parameters if extra_parameters_as_query_string is true ok 39 - ->generate() generates the shortest URL possible ok 40 - ->generate() generates the longest URL possible if generate_shortest_url is false # ->parseStarParameter() ok 41 - ->parseStarParameter() parses * as key/value pairs ok 42 - ->parseStarParameter() uses / as the key/value separator ok 43 - ->parseStarParameter() returns no additional parameters if the * value is empty ok 44 - ->parseStarParameter() cannot override special module/sction values ok 45 - ->parseStarParameter() can override a default value ok 46 - ->parseStarParameter() cannot override pattern variables ok 47 - ->parseStarParameter() is able to parse a star in the middle of a rule ok 48 - ->parseStarParameter() is able to parse a star if it is empty # ->generateStarParameter() ok 49 - ->generateStarParameter() replaces * with all the key/pair values that are not variables # custom token ok 50 - ->tokenizeBufferBefore() allows to add a custom token ok 51 - ->compileForLabel() adds logic to generate a route for a custom token # state checking ok 52 - __construct() creates an uncompiled instanceof sfRoute ok 53 - ->isBound() returns false before binding ok 54 - ->isBound() returns true after binding ok 55 - ->getParameters() compiles the route and returns parameters ok 56 - ->getParameters() compiles the route and returns parameters ok 57 - ->getPattern() compiles the route and returns the pattern ok 58 - ->getPattern() compiles the route and returns pattern ok 59 - ->getDefaults() compiles the route and returns the defaults ok 60 - ->getDefaults() compiles the route and returns defaults ok 61 - ->getRequirements() compiles the route and returns the requirements ok 62 - ->getRequirements() compiles the route and returns requirements ok 63 - ->getOptions() compiles the route and returns the compiled options ok 64 - ->getOptions() compiles the route and returns many compiled options ok 65 - ->getOptions() compiles the route and returns compiled options # Looks like everything went fine.