/** * @covers \phpDocumentor\Reflection\DocBlock::isTemplateStart */ public function testIfStartOfTemplateIsDiscovered() { $fixture = <<<DOCBLOCK /**#@+ * @see \\MyClass * @return void */ DOCBLOCK; $object = new DocBlock($fixture); $this->assertEquals('', $object->getShortDescription()); $this->assertEquals('', $object->getLongDescription()->getContents()); $this->assertCount(2, $object->getTags()); $this->assertTrue($object->hasTag('see')); $this->assertTrue($object->hasTag('return')); $this->assertFalse($object->hasTag('category')); $this->assertTrue($object->isTemplateStart()); }