1 <?php declare(strict_types=1);
21 protected function setUp() : void
29 $this->getMockBuilder(ilCtrl::class)->disableOriginalConstructor()->getMock()
42 ->getMockBuilder(ilLanguage::class)
43 ->disableOriginalConstructor()
44 ->setMethods([
'txt',
'getInstalledLanguages',
'loadLanguageModule'])
56 ->getMockBuilder(\
ILIAS\
UI\Factory::class)
59 $ui->expects($this->any())->method(
'legacy')->will($this->returnCallback(
function ($content) {
63 $legacyMock->expects($this->any())->method(
'getContent')->willReturn($content);
82 $DIC[
$name] =
function (
$c) use ($name) {
93 if (null === $value) {
setGlobalVariable(string $name, $value)
Class ChatMainBarProvider .
Class ilTermsOfServiceCriterionConfig.
Customizing of pimple-DIC for ILIAS.
getCriterionConfig($value=null)
Class ilTermsOfServiceBaseTest.
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']