/** * @covers phpDocumentor\Descriptor\NamespaceDescriptor::__construct * @covers phpDocumentor\Descriptor\NamespaceDescriptor::getClasses * @covers phpDocumentor\Descriptor\NamespaceDescriptor::setClasses */ public function testSetAndGetClasses() { $collection = new Collection(); $this->assertInstanceOf('phpDocumentor\\Descriptor\\Collection', $this->fixture->getClasses()); $this->fixture->setClasses($collection); $this->assertSame($collection, $this->fixture->getClasses()); }