/** * Sets up the testcase and its test data */ public function setup() { $this->getVars = array('key1' => array('key2' => array('key3' => array('key4' => 'value1', 'key5' => 'value2')))); $this->postVars = array('key1' => array('key2' => array('key3' => array('key4' => 'value3', 'key5' => 'value4')))); $this->gpVarAdapter = new Tx_PtExtbase_State_GpVars_GpVarsAdapter($this->extensionNamespace); $this->gpVarAdapter->_injectGetVars($this->getVars); $this->gpVarAdapter->_injectPostVars($this->postVars); }