public function testSetAndGetDocblock() { $p = PropertyGenerator::factory('testProp', 'string', 123); $p->setDocblock(new DocblockGenerator('This is the desc.')); $this->assertEquals('This is the desc.', $p->getDocblock()->getDesc()); }