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