public function testSaveEmptyObject() { $document = (object) []; $this->getCollection()->save($document); $this->assertSame(1, $this->getCollection()->count()); }