public function DocBlockTest::testIfEndOfTemplateIsDiscovered in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlockTest.php \phpDocumentor\Reflection\DocBlockTest::testIfEndOfTemplateIsDiscovered()
@covers \phpDocumentor\Reflection\DocBlock::isTemplateEnd
File
- vendor/
phpdocumentor/ reflection-docblock/ tests/ phpDocumentor/ Reflection/ DocBlockTest.php, line 118
Class
- DocBlockTest
- Test class for phpDocumentor\Reflection\DocBlock
Namespace
phpDocumentor\ReflectionCode
public function testIfEndOfTemplateIsDiscovered() {
$fixture = <<<DOCBLOCK
/**#@-*/
DOCBLOCK;
$object = new DocBlock($fixture);
$this
->assertEquals('', $object
->getShortDescription());
$this
->assertEquals('', $object
->getLongDescription()
->getContents());
$this
->assertTrue($object
->isTemplateEnd());
}