Definition at line 9 of file ConfigCollectionTest.php.
◆ testConstruct()
ILIAS\Tests\Setup\ConfigCollectionTest::testConstruct |
( |
| ) |
|
Definition at line 13 of file ConfigCollectionTest.php.
14 {
15 $c1 = $this->newConfig();
16 $c2 = $this->newConfig();
17 $c3 = $this->newConfig();
18
19 $c =
new Setup\ConfigCollection([
"c1" => $c1,
"c2" => $c2,
"c3" => $c3]);
20
21 $this->assertInstanceOf(Setup\Config::class,
$c);
22 }
References Vendor\Package\$c.
◆ testGetConfig()
ILIAS\Tests\Setup\ConfigCollectionTest::testGetConfig |
( |
| ) |
|
Definition at line 24 of file ConfigCollectionTest.php.
25 {
26 $c1 = $this->newConfig();
27 $c2 = $this->newConfig();
28 $c3 = $this->newConfig();
29
30 $c =
new Setup\ConfigCollection([
"c1" => $c1,
"c2" => $c2,
"c3" => $c3]);
31
32 $this->assertEquals($c1,
$c->getConfig(
"c1"));
33 $this->assertEquals($c2,
$c->getConfig(
"c2"));
34 $this->assertEquals($c3,
$c->getConfig(
"c3"));
35 }
References Vendor\Package\$c.
◆ testGetKeys()
ILIAS\Tests\Setup\ConfigCollectionTest::testGetKeys |
( |
| ) |
|
Definition at line 37 of file ConfigCollectionTest.php.
38 {
39 $c1 = $this->newConfig();
40 $c2 = $this->newConfig();
41 $c3 = $this->newConfig();
42
43 $c =
new Setup\ConfigCollection([
"c1" => $c1,
"c2" => $c2,
"c3" => $c3]);
44
45 $this->assertEquals([
"c1",
"c2",
"c3"],
$c->getKeys());
46 }
References Vendor\Package\$c.
The documentation for this class was generated from the following file: