public function testSerialize() { $batch = new \MongoUpdateBatch($this->getCollection()); $this->assertInternalType('string', serialize($batch)); }