/** * @covers phpDocumentor\Descriptor\PropertyDescriptor::getFile */ public function testRetrieveFileAssociatedWithAProperty() { // Arrange $file = $this->whenFixtureIsRelatedToAClassWithFile(); // Act $result = $this->fixture->getFile(); // Assert $this->assertAttributeSame(null, 'fileDescriptor', $this->fixture); $this->assertSame($file, $result); }