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