또한 보기: http://php.net/manual/en/class.mongodeletebatch.php
또한 보기: http://php.net/manual/en/class.mongowritebatch.php
상속: extends MongoWriteBatch
 public function testValidateItem()
 {
     $collection = $this->getCollection();
     $batch = new \MongoDeleteBatch($collection);
     $this->setExpectedException('Exception', "Expected \$item to contain 'q' key");
     $batch->add([]);
 }
 public function testValidateItem()
 {
     $collection = $this->getCollection();
     $batch = new \MongoDeleteBatch($collection);
     $this->setExpectedException('Exception', 'invalid item');
     $batch->add([]);
 }