gossi\codegen\tests\model\DocblockTest::testFunction PHP Method

testFunction() public method

public testFunction ( )
    public function testFunction()
    {
        $function = PhpFunction::create(self::METHOD)->setType('string', 'this method returns a string')->addParameter(new PhpParameter('a'));
        $function->generateDocblock();
        $this->assertFalse($function->getDocblock()->isEmpty());
    }