mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Change unit testing to match phpDocumentor itself
This commit is contained in:
@@ -104,6 +104,18 @@ class DescriptionTest extends TestCase
|
||||
$this->assertSame($tag2, $actualTags[1]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers ::getBodyTemplate
|
||||
*/
|
||||
public function testDescriptionBodyTemplateGetter() : void
|
||||
{
|
||||
$body = 'See https://github.com/phpDocumentor/ReflectionDocBlock/pull/171 for more information';
|
||||
|
||||
$fixture = new Description($body, []);
|
||||
|
||||
$this->assertSame($body, $fixture->getBodyTemplate());
|
||||
}
|
||||
|
||||
/**
|
||||
* @uses \phpDocumentor\Reflection\DocBlock\Tags\Generic
|
||||
* @uses \phpDocumentor\Reflection\DocBlock\Tags\BaseTag
|
||||
|
||||
Reference in New Issue
Block a user