3 declare(strict_types=1);
32 protected function setUp(): void
51 $DIC[
$name] =
static function (
$c) use ($name) {
58 $tpl_mock = $this->createMock(ilGlobalTemplateInterface::class);
62 ->getMockBuilder(ilLanguage::class)
63 ->disableOriginalConstructor()
64 ->onlyMethods([
'txt',
'getInstalledLanguages',
'loadLanguageModule'])
70 $this->getMockBuilder(ilCtrlInterface::class)->disableOriginalConstructor()->getMock()
75 $this->getMockBuilder(ilIniFile::class)->disableOriginalConstructor()->getMock()
80 $this->getMockBuilder(ilObjUser::class)->disableOriginalConstructor()->getMock()
84 ->getMockBuilder(HttpServiceImpl::class)
85 ->disableOriginalConstructor()
86 ->onlyMethods([
'agent'])
setGlobalVariable(string $name, $value)
This library is borrowed from the phpGroupWare API http://www.phpgroupware.org/api Modifications made...
Customizing of pimple-DIC for ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']