public function setUp()
 {
     //sprache auf default setzen damit wir die richtigen labels haben
     $GLOBALS['LANG']->lang = 'default';
     //wir müssen noch die TCA für die Wordlist laden
     global $TCA;
     $TCA['tx_mklib_wordlist'] = array('ctrl' => array('title' => 'LLL:EXT:mklib/locallang_db.xml:tx_mklib_wordlist', 'label' => 'word', 'label_alt' => 'uid', 'label_alt_force' => false, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath('mklib') . 'tca/tx_mklib_wordlist.php', 'iconfile' => t3lib_extMgm::extRelPath('mklib') . 'icon/icon_tx_mklib_wordlist.gif', 'dividers2tabs' => true));
     $this->oMod = tx_rnbase::makeInstance('tx_mklib_tests_fixtures_classes_DummyMod');
     $this->oSearcher = tx_rnbase::makeInstance('tx_mklib_tests_fixtures_classes_DummySearcher', $this->oMod);
     $GLOBALS['TBE_TEMPLATE'] = t3lib_div::makeInstance('template');
     $GLOBALS['CLIENT']['FORMSTYLE'] = 'something';
     $GLOBALS['emptyTestResult'] = false;
     //immer wieder löschen
     $_GET['SET'] = null;
     tx_mklib_tests_mod1_Util::unsetSorting($this->oMod);
     if (isset($GLOBALS['BE_USER']->uc['moduleData'][$this->oMod->getName()]['showhidden'])) {
         unset($GLOBALS['BE_USER']->uc['moduleData'][$this->oMod->getName()]['showhidden']);
     }
 }
 protected function replaceForCliAndremoveVcAndFormToken($string)
 {
     tx_rnbase::load('tx_mklib_tests_mod1_Util');
     tx_mklib_tests_mod1_Util::replaceForCli($string);
     tx_mklib_tests_mod1_Util::removeVcAndFormToken($string);
     return $string;
 }