/**
  * @covers phpDocumentor\Descriptor\DescriptorAbstract::setErrors
  * @covers phpDocumentor\Descriptor\DescriptorAbstract::getErrors
  */
 public function testSettingAndGettingErrors()
 {
     $this->assertNull($this->fixture->getErrors());
     /** @var Collection $mock */
     $mock = m::mock('phpDocumentor\\Descriptor\\Collection');
     $this->fixture->setErrors($mock);
     $this->assertSame($mock, $this->fixture->getErrors());
 }