public function testSerialize()
{
$gridfs = $this->getGridFS();
$gridfs->storeBytes('foo', ['filename' => 'foo.txt']);
$gridfs->storeBytes('bar', ['filename' => 'bar.txt']);
$cursor = $gridfs->find(['filename' => 'foo.txt']);
$this->assertInternalType('string', serialize($cursor));
}