public function testGetStoredDocumentInstanceFromArray() { $document = $this->collection->hydrate(array('_id' => new \MongoId())); $this->assertTrue($document->isStored()); }