/** * @covers phpDocumentor\Descriptor\ClassDescriptor::setProperties * @covers phpDocumentor\Descriptor\ClassDescriptor::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()); }