public function testInsertArrayWithNumericKeys() { $document = [1 => 'foo']; $this->getCollection()->insert($document); $this->assertSame(1, $this->getCollection()->count(['_id' => $document['_id']])); }