/** * @covers phpDocumentor\Descriptor\DescriptorAbstract::getSummary */ public function testSummaryInheritsWhenNoneIsPresent() { // Arrange $summary = 'This is a summary'; $this->fixture->setSummary(null); $parentProperty = $this->whenFixtureHasPropertyInParentClassWithSameName($this->fixture->getName()); $parentProperty->setSummary($summary); // Act $result = $this->fixture->getSummary(); // Assert $this->assertSame($summary, $result); }