Extends
lithium\test\UnitSource
public function testDocblockNewlineHandling() {
$doc = " * This line as well as the line below it,\r\n";
$doc .= " * are part of the description.\r\n *\r\n * This line isn't.";
$result = Docblock::comment($doc);
$description = "This line as well as the line below it,\nare part of the description.";
$this->assertEqual($description, $result['description']);
$this->assertEqual('This line isn\'t.', $result['text']);
}