Extends
lithium\test\UnitSource
public function testWithoutChunksAndRandomCommentInHtmlRoot() {
$body = "\n<html><!-- This is some random comment -->\n <head>";
$body .= "\n <title>Simple site</title>\n </head>\n <body>";
$body .= "\n <h1>Simple site</h1>\n <p>\n But awesome";
$body .= "\n </p>\n </body>\n</html>\n";
$message = $this->_createMessage($body);
$response = new Response(compact('message'));
$this->assertEqual(trim($body), $response->body());
}