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