Beispiel #1
0
 protected function setUp()
 {
     parent::setUp();
     ModuleWriteableMock::setUp();
     MockManager::setDaoCreate('Modul', function ($daoName, $daoType) {
         return new ModuleWriteableMock();
     });
 }
Beispiel #2
0
 public function setUp()
 {
     parent::setUp();
     ModuleWriteableMock::setUp();
     MockManager::setDaoCreate('Module', function ($daoName, $daoType) {
         return new ModuleWriteableMock();
     });
     $this->service = new ModulService('Modul');
 }
Beispiel #3
0
 protected function setUp()
 {
     MockManager::activateWebsiteSettingsMock(true);
     parent::setUp();
     ModuleWriteableMock::setUp();
     MockManager::setDaoCreate('Modul', function ($daoName, $daoType) {
         return new ModuleWriteableMock();
     });
 }
 protected function setUp()
 {
     parent::setUp();
     ModuleWriteableMock::setUp();
     MockManager::setDaoCreate('Modul', function ($daoName, $daoType) {
         return new ModuleWriteableMock();
     });
     // reset delete lists
     $this->filesToDeleteAtTearDown = array();
     $this->directoriesToDeleteAtTearDown = array();
 }