/** * @covers phpDocumentor\Descriptor\ProjectDescriptor::__construct * @covers phpDocumentor\Descriptor\ProjectDescriptor::setIndexes * @covers phpDocumentor\Descriptor\ProjectDescriptor::getIndexes */ public function testGetSetIndexes() { $this->assertInstanceOf('phpDocumentor\\Descriptor\\Collection', $this->fixture->getIndexes()); $indexCollection = new Collection(); $this->fixture->setIndexes($indexCollection); $this->assertSame($indexCollection, $this->fixture->getIndexes()); }