PopTest\Code\FunctionTest::testDocblock PHP Méthode

testDocblock() public méthode

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