ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
ilTestSessionFactoryTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilTestSessionFactoryTest
extends
ilTestBaseTestCase
26
{
27
private
ilTestSessionFactory
$testObj
;
28
29
protected
function
setUp
(): void
30
{
31
global
$DIC
;
32
parent::setUp();
33
$this->
addGlobal_ilUser
();
34
35
$this->testObj =
new
ilTestSessionFactory
(
36
$this->createMock(ilObjTest::class),
37
$DIC[
'ilDB'
],
38
$DIC[
'ilUser'
]
39
);
40
}
41
42
public
function
test_instantiateObject_shouldReturnInstance
(): void
43
{
44
$this->assertInstanceOf(ilTestSessionFactory::class, $this->testObj);
45
}
46
}
ilTestSessionFactoryTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilTestSessionFactoryTest.php:42
$DIC
global $DIC
Definition:
feed.php:28
ilTestBaseTestCase\addGlobal_ilUser
addGlobal_ilUser()
Definition:
ilTestBaseTestCase.php:150
ilTestSessionFactory
Definition:
class.ilTestSessionFactory.php:27
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:36
ilTestSessionFactoryTest
Class ilTestSessionFactoryTest.
Definition:
ilTestSessionFactoryTest.php:25
ilTestSessionFactoryTest\$testObj
ilTestSessionFactory $testObj
Definition:
ilTestSessionFactoryTest.php:27
ilTestSessionFactoryTest\setUp
setUp()
Definition:
ilTestSessionFactoryTest.php:29
Modules
Test
test
ilTestSessionFactoryTest.php
Generated on Wed Sep 10 2025 14:11:08 for ILIAS by
1.8.13 (using
Doxyfile
)