19declare(strict_types=1);
24use PHPUnit\Framework\MockObject\MockObject;
25use PHPUnit\Framework\TestCase;
32 protected function setUp(): void
39 $this->getMockBuilder(ilSetting::class)->disableOriginalConstructor()->getMock()
56 $DIC[$name] =
static function (
$c) use ($name) {
64 $testdata[
'ecs_login'] =
'testlogin';
65 $testdata[
'ecs_firstname'] =
'test_firstname';
66 $testdata[
'ecs_lastname'] =
'test_lastname';
68 $testdata[
'ecs_institution'] =
'test_institution';
69 $testdata[
'ecs_email'] =
'test@email.nowhere';
70 $testdata[
'ecs_uid_hash'] =
'test_hash';
73 $this->assertEquals(
'testlogin', $user->getLogin());
Customizing of pimple-DIC for ILIAS.
Builds a Color from either hex- or rgb values.
setGlobalVariable(string $name, $value)
testConstructorWithArray()
Stores relevant user data.