public function testDocblock() { $f = FunctionGenerator::factory('newFunction'); $f->setDocblock(new DocblockGenerator('This is a test desc.')); $this->assertEquals('This is a test desc.', $f->getDocblock()->getDesc()); }