Extends
lithium\test\UnitSource
public function testParamTag() {
$comment = "/**\n * Lithium is cool\n * @param string \$str Some string\n */";
$expected = array(
'description' => 'Lithium is cool',
'text' => '',
'tags' => array('params' => array(
'$str' => array('type' => 'string', 'text' => 'Some string')
))
);
$result = Docblock::comment($comment);
$this->assertEqual($expected, $result);
}