3 declare(strict_types=1);
43 protected function setUp(): void
66 return $this->getMockBuilder(ilTemplate::class)->disableOriginalConstructor()->getMock();
71 return $this->getMockBuilder(ilDBInterface::class)->disableOriginalConstructor()->getMock();
76 $mock = $this->getMockBuilder(ILIAS::class)->disableOriginalConstructor()->getMock();
80 $account->fullname =
'Esther Tester';
82 $mock->account = $account;
99 $this->
setGlobalVariable(
"objDefinition", $this->createMock(ilObjectDefinition::class));
159 $this->
setGlobalVariable(
"ilAppEventHandler", $this->createMock(ilAppEventHandler::class));
169 $this->
setGlobalVariable(
"ilPluginAdmin", $this->createMock(ilPluginAdmin::class));
179 $this->
setGlobalVariable(
"ilObjDataCache", $this->createMock(ilObjectDataCache::class));
209 $this->
setGlobalVariable(
"ilLoggerFactory", $this->createMock(ilLoggerFactory::class));
229 $refineryMock = $this->getMockBuilder(RefineryFactory::class)->disableOriginalConstructor()->getMock();
230 $refineryMock->expects(self::any())->method(
'random')->willReturn($this->getMockBuilder(RandomGroup::class)->getMock());
addGlobal_ilIliasIniFile()
addGlobal_ilAppEventHandler()
addGlobal_ilObjDataCache()
setGlobalVariable(string $name, $value)
Class ChatMainBarProvider .
Customizing of pimple-DIC for ILIAS.
Class ilScorm2004BaseTestCase.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addGlobal_ilPluginAdmin()
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
addGlobal_ilLoggerFactory()
addGlobal_objDefinition()