/**
  * @covers phpDocumentor\Descriptor\FileDescriptor::setFunctions
  * @covers phpDocumentor\Descriptor\FileDescriptor::getFunctions
  */
 public function testSetAndGetFunctions()
 {
     $this->assertInstanceOf('phpDocumentor\\Descriptor\\Collection', $this->fixture->getFunctions());
     $mockInstance = m::mock('phpDocumentor\\Descriptor\\Collection');
     $mock = $mockInstance;
     $this->fixture->setFunctions($mock);
     $this->assertSame($mockInstance, $this->fixture->getFunctions());
 }