Extends
lithium\test\UnitSource
public function setUp() {
Connections::config(array('lithium_mongo_test' => $this->_testConfig));
$this->db = Connections::get('lithium_mongo_test');
$model = $this->_model;
$model::config(array('key' => '_id'));
$model::resetConnection(false);
$this->query = new Query(compact('model') + array(
'entity' => new Document(compact('model'))
));
}