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