protected function setUp() { $db_util = DbTestUtil::instance(); $db_util->emptyTable('member'); $this->_dao = DAOFactory::getDAOFactory(DAOFactory::DB); $this->_member_dao = $this->_dao->getMemberDAO(); }
public function instance() { if (!self::$_instance) { self::$_instance = new self(); } return self::$_instance; }