ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
◀ ilDoc Overview
TestDICTest.php
Go to the documentation of this file.
1
<?php
2
19
use
ILIAS\DI\ServiceContainer
as Container;
20
use
ILIAS\Test\TestDIC
;
21
22
class
TestDICTest
extends
ilTestBaseTestCase
23
{
24
protected
function
setUp
(): void
25
{
26
parent::setUp
();
27
}
28
29
public
function
testConstruct
(): void
30
{
31
$test_dic =
new
TestDIC
();
32
$this->assertInstanceOf(TestDIC::class, $test_dic);
33
}
34
35
public
function
testDic
(): void
36
{
37
$this->assertInstanceOf(Container::class, TestDIC::dic());
38
}
39
}
ILIAS\DI\ServiceContainer
Dependency injection container for the global as well as for local, component specific containers.
Definition:
ServiceContainer.php:32
ILIAS\Test\TestDIC
Definition:
TestDIC.php:71
TestDICTest
Definition:
TestDICTest.php:23
TestDICTest\testConstruct
testConstruct()
Definition:
TestDICTest.php:29
TestDICTest\testDic
testDic()
Definition:
TestDICTest.php:35
TestDICTest\setUp
setUp()
Definition:
TestDICTest.php:24
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:31
setUp
setUp()
Definition:
ilObjLanguageGuiTestSupport.php:34
components
ILIAS
Test
tests
TestDICTest.php
Generated on Wed Nov 11 2026 23:10:39 for ILIAS by
1.9.4 (using
Doxyfile
)