1..83 # ->initialize() ok 1 - ->initialize() takes a charset option ok 2 - ->initialize() takes a content_type option # ->getStatusCode() ->setStatusCode() ok 3 - ->getStatusCode() returns 200 by default ok 4 - ->setStatusCode() sets status code ok 5 - ->setStatusCode() also sets the status text associated with the status code if no message is given ok 6 - ->setStatusCode() takes a message as its second argument as the status text ok 7 - ->setStatusCode() takes a message as its second argument as the status text # ->hasHttpHeader() ok 8 - ->hasHttpHeader() returns false if http header is not set ok 9 - ->hasHttpHeader() returns true if http header is not set ok 10 - ->hasHttpHeader() normalizes http header name # ->getHttpHeader() ok 11 - ->getHttpHeader() returns the current http header values ok 12 - ->getHttpHeader() normalizes http header name # ->setHttpHeader() ok 13 - ->setHttpHeader() takes a replace argument as its third argument ok 14 - ->setHttpHeader() takes a replace argument as its third argument ok 15 - ->setHttpHeader() normalizes http header name # ->clearHttpHeaders() ok 16 - ->clearHttpHeaders() clears all current http headers # ->getHttpHeaders() ok 17 - ->getHttpHeaders() return all current response http headers # ->normalizeHeaderName() ok 18 - ->normalizeHeaderName() normalizes http header name ok 19 - ->normalizeHeaderName() normalizes http header name ok 20 - ->normalizeHeaderName() normalizes http header name ok 21 - ->normalizeHeaderName() normalizes http header name ok 22 - ->normalizeHeaderName() normalizes http header name ok 23 - ->normalizeHeaderName() normalizes http header name ok 24 - ->normalizeHeaderName() normalizes http header name ok 25 - ->normalizeHeaderName() normalizes http header name ok 26 - ->normalizeHeaderName() normalizes http header name # ->getContentType() ->setContentType() ->getCharset() ok 27 - ->getContentType() returns a sensible default value ok 28 - ->getCharset() returns the current charset of the response ok 29 - ->setContentType() adds a charset if none is given ok 30 - ->setContentType() adds a charset if none is given ok 31 - ->getCharset() returns the current charset of the response ok 32 - ->setContentType() does not add a charset if the content-type is not text/* ok 33 - ->setContentType() does nothing if a charset is given ok 34 - ->getCharset() returns the current charset of the response ok 35 - ->setContentType() does nothing if a charset is given ok 36 - ->getCharset() returns the current charset of the response ok 37 - ->getContentType() is an alias for ->getHttpHeader('content-type') ok 38 - ->setContentType() overrides previous content type if replace is true # ->getTitle() ->setTitle() ok 39 - ->getTitle() returns an empty string by default ok 40 - ->setTitle() sets the title ok 41 - ->setTitle() will leave encoding intact # ->addHttpMeta() ok 42 - ->addHttpMeta() takes a replace argument as its third argument ok 43 - ->addHttpMeta() also sets the corresponding http header ok 44 - ->addHttpMeta() takes a replace argument as its third argument ok 45 - ->addHttpMeta() normalizes http header name # ->addVaryHttpHeader() ok 46 - ->addVaryHttpHeader() adds a new Vary header ok 47 - ->addVaryHttpHeader() does not add the same header twice ok 48 - ->addVaryHttpHeader() respects ordering # ->addCacheControlHttpHeader() ok 49 - ->addCacheControlHttpHeader() adds a new Cache-Control header ok 50 - ->addCacheControlHttpHeader() does not add the same header twice ok 51 - ->addCacheControlHttpHeader() respects ordering # ->copyProperties() ok 52 - ->copyProperties() merges http headers ok 53 - ->copyProperties() merges content type ok 54 - ->copyProperties() merges titles # ->addStylesheet() ok 55 - ->addStylesheet() adds a new stylesheet for the response ok 56 - ->addStylesheet() adds a new stylesheet for the response ok 57 - ->addStylesheet() takes a position as its second argument ok 58 - ->addStylesheet() takes a position as its second argument ok 59 - ->addStylesheet() takes an array of parameters as its third argument ok 60 - ->addStylesheet() throws an InvalidArgumentException if the position is not first, the empty string, or last # ->getStylesheets() ok 61 - ->getStylesheets() returns all current registered stylesheets ordered by position ok 62 - ->getStylesheets() takes a position as its first argument ok 63 - ->getStylesheets() takes a position as its first argument ok 64 - ->getStylesheets() takes a position as its first argument # ->removeStylesheet() ok 65 - ->getStylesheets() removes a stylesheet from the response ok 66 - ->getStylesheets() removes a stylesheet from the response # ->addJavascript() ok 67 - ->addJavascript() adds a new javascript for the response ok 68 - ->addJavascript() adds a new javascript for the response ok 69 - ->addJavascript() takes a position as its second argument ok 70 - ->addJavascript() takes a position as its second argument ok 71 - ->addJavascript() throws an InvalidArgumentException if the position is not first, the empty string, or last # ->getJavascripts() ok 72 - ->getJavascripts() returns all current registered javascripts ordered by position ok 73 - ->getJavascripts() takes a position as its first argument ok 74 - ->getJavascripts() takes a position as its first argument ok 75 - ->getJavascripts() takes a position as its first argument # ->removeJavascript() ok 76 - ->removeJavascripts() removes a javascript file ok 77 - ->removeJavascripts() removes a javascript file # ->setCookie() ->getCookies() ok 78 - ->setCookie() adds a cookie for the response # ->setHeaderOnly() ->isHeaderOnly() ok 79 - ->isHeaderOnly() returns false if the content must be send to the client ok 80 - ->setHeaderOnly() changes the current value of header only # ->sendContent() ok 81 - ->sendContent() returns nothing if headerOnly is true ok 82 - ->sendContent() returns the response content if headerOnly is false # ->serialize() ->unserialize() ok 83 - sfWebResponse implements the Serializable interface # Looks like everything went fine.