/**
* @covers phpDocumentor\Descriptor\TraitDescriptor::setProperties
* @covers phpDocumentor\Descriptor\TraitDescriptor::getProperties
*/
public function testSettingAndGettingProperties()
{
$this->assertInstanceOf('phpDocumentor\\Descriptor\\Collection', $this->fixture->getProperties());
$mock = m::mock('phpDocumentor\\Descriptor\\Collection');
$this->fixture->setProperties($mock);
$this->assertSame($mock, $this->fixture->getProperties());
}