public function testGetDocument_ConfigureCursor_ReturnAsArray()
{
$document = $this->collection->createDocument(array('param' => 'value'))->save();
$this->collection->updateAll(array('$set' => array('param' => 'updatedValue')));
// already loaded document
$this->assertEquals('value', $document->param);
// get document from pool
$this->assertEquals('value', $this->collection->getDocument($document->getId())->param);
$this->assertEquals('updatedValue', $this->collection->getDocumentDirectly($document->getId())->param);
}