/** * @covers phpDocumentor\Descriptor\MethodDescriptor::getParam */ public function testParamTagsInheritWhenNoneArePresent() { // Arrange $paramTagDescriptor = new AuthorDescriptor('param'); $paramCollection = new Collection(array($paramTagDescriptor)); $this->fixture->getTags()->clear(); $parentProperty = $this->whenFixtureHasMethodInParentClassWithSameName($this->fixture->getName()); $parentProperty->getTags()->set('param', $paramCollection); // Act $result = $this->fixture->getParam(); // Assert $this->assertSame($paramCollection, $result); }