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