1..21 # ->initialize() ok 1 - ->initialize() initializes the parameters as an empty array ok 2 - ->initialize() takes an array of default parameters as its second argument ok 3 - ->initialize() takes an array of options as its third argument ok 4 - ->initialize() takes an array of options as its third argument # ->isEscaped() ok 5 - ->isEscaped() returns true if data will be escaped ok 6 - ->isEscaped() returns false if data won't be escaped # ->getEscaping() ->setEscaping() ok 7 - ->setEscaping() changes the escaping strategy # ->getEscapingMethod() ->setEscapingMethod() ok 8 - ->setEscapingMethod() changes the escaping method ok 9 - ->getEscapingMethod() returns an empty value if the method is empty ok 10 - ->getEscapingMethod() throws an InvalidArgumentException if the escaping method does not exist # ->toArray() ok 11 - ->toArray() returns an array representation of the parameter holder ok 12 - ->toArray() throws an InvalidArgumentException if the escaping strategy does not exist # Escaping strategy to on ok 13 - ->toArray() knows about the on strategy ok 14 - ->toArray() knows about the on strategy ok 15 - ->toArray() knows about the on strategy ok 16 - ->toArray() knows about the on strategy # Escaping strategy to off ok 17 - ->toArray() knows about the off strategy ok 18 - ->toArray() knows about the on strategy ok 19 - ->toArray() knows about the off strategy ok 20 - ->toArray() knows about the off strategy # ->serialize() / ->unserialize() ok 21 - sfViewParameterHolder implements the Serializable interface # Looks like everything went fine.