Class DIContainerTest.
More...
Class DIContainerTest.
Definition at line 11 of file DIContainerTest.php.
◆ setUp()
ILIAS\DI\DIContainerTest::setUp |
( |
| ) |
|
|
protected |
◆ testIsDependencyAvailableIfAvailable()
ILIAS\DI\DIContainerTest::testIsDependencyAvailableIfAvailable |
( |
| ) |
|
Definition at line 29 of file DIContainerTest.php.
30 {
31 $this->DIC["ilCtrl"] = function () {
32 };
33 $this->assertTrue($this->DIC->isDependencyAvailable("ctrl"));
34 }
◆ testIsDependencyAvailableIfNotAvailable()
ILIAS\DI\DIContainerTest::testIsDependencyAvailableIfNotAvailable |
( |
| ) |
|
Definition at line 24 of file DIContainerTest.php.
25 {
26 $this->assertFalse($this->DIC->isDependencyAvailable("ctrl"));
27 }
◆ $DIC
ILIAS\DI\DIContainerTest::$DIC |
|
protected |
The documentation for this class was generated from the following file: