ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
TestDICTest Class Reference
+ Inheritance diagram for TestDICTest:
+ Collaboration diagram for TestDICTest:

Public Member Functions

 testConstruct ()
 
 testDic ()
 
- Public Member Functions inherited from ilTestBaseTestCase
 createInstanceOf (string $class_name, array $explicit_parameters=[])
 
 createTraitInstanceOf (string $class_name, array $explicit_parameters=[])
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
static getNonPublicPropertyValue (object $obj, string $name)
 
- Data Fields inherited from ilTestBaseTestCase
const string MOCKED_METHOD_WITHOUT_OUTPUT = 'MOCKED_METHOD_WITHOUT_OUTPUT'
 
const string DYNAMIC_CLASS = 'DynamicClass'
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 
Container $backup_dic = null
 
- Static Protected Attributes inherited from ilTestBaseTestCase
static int $DYNAMIC_CLASS_COUNT = 0
 

Detailed Description

Definition at line 22 of file TestDICTest.php.

Member Function Documentation

◆ setUp()

TestDICTest::setUp ( )
protected

Definition at line 24 of file TestDICTest.php.

24  : void
25  {
26  parent::setUp();
27  }

◆ testConstruct()

TestDICTest::testConstruct ( )

Definition at line 29 of file TestDICTest.php.

29  : void
30  {
31  $test_dic = new TestDIC();
32  $this->assertInstanceOf(TestDIC::class, $test_dic);
33  }

◆ testDic()

TestDICTest::testDic ( )

Definition at line 35 of file TestDICTest.php.

35  : void
36  {
37  $this->assertInstanceOf(Container::class, TestDIC::dic());
38  }

The documentation for this class was generated from the following file: