public function testInvalidDB() { try { R::selectDatabase('idontexist'); fail(); } catch (RedException $exception) { pass(); } }