/** * @covers phpDocumentor\Descriptor\ProjectDescriptor::__construct * @covers phpDocumentor\Descriptor\ProjectDescriptor::setFiles * @covers phpDocumentor\Descriptor\ProjectDescriptor::getFiles */ public function testGetSetFiles() { $this->assertInstanceOf('phpDocumentor\\Descriptor\\Collection', $this->fixture->getFiles()); $filesCollection = new Collection(); $this->fixture->setFiles($filesCollection); $this->assertSame($filesCollection, $this->fixture->getFiles()); }