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