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