public function getMongoDb() { return Epic_Mongo::getConnection($this->getConnection())->selectDB($this->getDb()); }
public function getMongoDb() { return Epic_Mongo::getConnection('default')->selectDB($this->dbName); }
/** * @expectedException Epic_Mongo_Exception */ public function testGetConnectionException() { Epic_Mongo::getConnection('doesnt_exist'); }