3 declare(strict_types=1);
32 $c1 = $this->newConfig();
33 $c2 = $this->newConfig();
34 $c3 = $this->newConfig();
38 $this->assertInstanceOf(Setup\Config::class,
$c);
43 $c1 = $this->newConfig();
44 $c2 = $this->newConfig();
45 $c3 = $this->newConfig();
49 $this->assertEquals($c1,
$c->getConfig(
"c1"));
50 $this->assertEquals($c2,
$c->getConfig(
"c2"));
51 $this->assertEquals($c3,
$c->getConfig(
"c3"));
56 $c1 = $this->newConfig();
57 $c2 = $this->newConfig();
58 $c3 = $this->newConfig();
62 $this->assertEquals([
"c1",
"c2",
"c3"],
$c->getKeys());
67 $c1 = $this->newConfig();
68 $c2 = $this->newConfig();
69 $c3 = $this->newConfig();
73 $this->assertEquals($c1,
$c->maybeGetConfig(
"c1"));
74 $this->assertEquals($c2,
$c->maybeGetConfig(
"c2"));
75 $this->assertEquals(null,
$c->maybeGetConfig(
"c3"));
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A collection of some configurations.