public function testSetAndGetParams()
{
$d = DocblockGenerator::factory('This is the description');
$d->setParams(array('type' => 'string', 'var' => 'testString', 'desc' => 'Test desc'));
$p = $d->getParam(0);
$this->assertTrue(is_array($p));
$this->assertEquals('string', $p['type']);
$this->assertEquals('testString', $p['var']);
$this->assertEquals('Test desc', $p['desc']);
}