You are here

public function DocBlockTest::testParseMultilineTag in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlockTest.php \phpDocumentor\Reflection\DocBlockTest::testParseMultilineTag()

@depends testConstructWithTagsOnly @covers \phpDocumentor\Reflection\DocBlock::parseTags

Return value

void

File

vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlockTest.php, line 282

Class

DocBlockTest
Test class for phpDocumentor\Reflection\DocBlock

Namespace

phpDocumentor\Reflection

Code

public function testParseMultilineTag() {
  $fixture = <<<DOCBLOCK
/**
 * @return void Content on
 *     multiple lines.
 */
DOCBLOCK;
  $object = new DocBlock($fixture);
  $this
    ->assertCount(1, $object
    ->getTags());
}