PopTest\Code\PropertyTest::testSetAndGetDocblock PHP Метод

testSetAndGetDocblock() публичный Метод

    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());
    }