public function TagTest::testConstructorParesInputsIntoCorrectFields in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/TagTest.php \phpDocumentor\Reflection\DocBlock\TagTest::testConstructorParesInputsIntoCorrectFields()
Test that the \phpDocumentor\Reflection\DocBlock\Tag\VarTag can understand the
@covers \phpDocumentor\Reflection\DocBlock\Tag @dataProvider provideDataForConstuctor
Parameters
string $type:
string $content:
string $exDescription:
Return value
void
File
- vendor/
phpdocumentor/ reflection-docblock/ tests/ phpDocumentor/ Reflection/ DocBlock/ TagTest.php, line 280
Class
- TagTest
- Test class for \phpDocumentor\Reflection\DocBlock\Tag\VarTag
Namespace
phpDocumentor\Reflection\DocBlockCode
public function testConstructorParesInputsIntoCorrectFields($type, $content, $exDescription) {
$tag = new Tag($type, $content);
$this
->assertEquals($type, $tag
->getName());
$this
->assertEquals($content, $tag
->getContent());
$this
->assertEquals($exDescription, $tag
->getDescription());
}