diff --git a/tests/unit/DocBlockTest.php b/tests/unit/DocBlockTest.php index e6cbfe3..177e914 100644 --- a/tests/unit/DocBlockTest.php +++ b/tests/unit/DocBlockTest.php @@ -193,6 +193,21 @@ class DocBlockTest extends TestCase $this->assertSame($location, $fixture->getLocation()); } + /** + * @uses \phpDocumentor\Reflection\DocBlock\Description + * + * @covers ::__construct + * @covers ::isTemplateStart + * @covers ::isTemplateEnd + */ + public function testDocBlockIsNotATemplateByDefault() : void + { + $fixture = new DocBlock('', null, [], null, null); + + $this->assertFalse($fixture->isTemplateStart()); + $this->assertFalse($fixture->isTemplateEnd()); + } + /** * @uses \phpDocumentor\Reflection\DocBlock\Description *