public function tearDown() { Cache::clear(); if (Db::getInstance()->isConnected()) { Db::getInstance()->enableTransactions(); Db::getInstance()->rollbackTransaction(); } }