Example #1
0
 protected function setUp()
 {
     $this->postBackup = $GLOBALS['_POST'];
     $GLOBALS['_POST'] = array();
     $this->subject = new Tx_Phpunit_BackEnd_Ajax(FALSE);
     $this->userSettingsService = new Tx_Phpunit_TestingDataContainer();
     $this->subject->injectUserSettingsService($this->userSettingsService);
 }