/** * @covers phpDocumentor\Descriptor\DescriptorAbstract::getDescription */ public function testDescriptionIsAugmentedWhenInheritDocInlineTagIsPresent() { // Arrange $description = 'This is a description'; $this->fixture->setDescription('Original description {@inheritDoc}'); $parentConstant = $this->whenFixtureHasConstantInParentClassWithSameName($this->fixture->getName()); $parentConstant->setDescription($description); // Act $result = $this->fixture->getDescription(); // Assert $this->assertSame('Original description ' . $description, $result); }