3declare(strict_types=1);
22require_once
"AbstractBaseTest.php";
28use OutOfBoundsException;
36 $this->getMockBuilder(ilLanguage::class)->disableOriginalConstructor()->getMock()
43 $super_global[
'foo'] =
'phpunit';
45 self::assertEquals(
'phpunit', $super_global[
'foo']);
50 $this->expectException(OutOfBoundsException::class);
53 $super_global[
'foo'] =
'phpunit';
testValueCanBeAssignedIfSuperGlobalIsMutable()
testExceptionIsRaisedIfValueIsAssignedButSuperGlobalIsImmutable()
Class SuperGlobalDropInReplacement This Class wraps SuperGlobals such as $_GET and $_POST to prevent ...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...