public function testInsertWithEmptyKey()
{
$this->setExpectedException('MongoException', 'zero-length keys are not allowed, did you use $ with double quotes?');
$document = ['' => 'foo'];
$this->getCollection()->insert($document);
}