19 declare(strict_types=1);
43 protected function setUp(): void
63 return $this->getMockBuilder(ilTemplate::class)->disableOriginalConstructor()->getMock();
68 return $this->getMockBuilder(ilDBInterface::class)->disableOriginalConstructor()->getMock();
73 $mock = $this->getMockBuilder(ILIAS::class)->disableOriginalConstructor()->getMock();
77 $account->fullname =
'Esther Tester';
79 $mock->account = $account;
96 $this->
setGlobalVariable(
"objDefinition", $this->createMock(ilObjectDefinition::class));
156 $this->
setGlobalVariable(
"ilAppEventHandler", $this->createMock(ilAppEventHandler::class));
166 $this->
setGlobalVariable(
"ilPluginAdmin", $this->createMock(ilPluginAdmin::class));
176 $this->
setGlobalVariable(
"ilObjDataCache", $this->createMock(ilObjectDataCache::class));
206 $this->
setGlobalVariable(
"ilLoggerFactory", $this->createMock(ilLoggerFactory::class));
216 $this->
setGlobalVariable(
"ui.factory", $this->createMock(FactoryInternal::class));
226 $refineryMock = $this->getMockBuilder(RefineryFactory::class)->disableOriginalConstructor()->getMock();
227 $refineryMock->expects(self::any())->method(
'random')->willReturn($this->getMockBuilder(RandomGroup::class)->getMock());
addGlobal_ilIliasIniFile()
addGlobal_ilAppEventHandler()
addGlobal_ilObjDataCache()
Interface Observer Contains several chained tasks and infos about them.
Customizing of pimple-DIC for ILIAS.
Class ilScorm2004BaseTestCase.
setGlobalVariable(string $name, mixed $value)
addGlobal_ilPluginAdmin()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addGlobal_ilLoggerFactory()
addGlobal_objDefinition()