ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
parent::setUp();
32
33
$this->testObj =
new
ilTestSessionFactory
(
34
$this->
getTestObjMock
(),
35
$this->createMock(ilDBInterface::class),
36
$this->createMock(ilObjUser::class)
37
);
38
}
39
40
public
function
test_instantiateObject_shouldReturnInstance
(): void
41
{
42
$this->assertInstanceOf(ilTestSessionFactory::class, $this->testObj);
43
}
44
}
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:31
ilTestSessionFactoryTest
Class ilTestSessionFactoryTest.
Definition:
ilTestSessionFactoryTest.php:26
ilTestSessionFactoryTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilTestSessionFactoryTest.php:40
ilTestSessionFactoryTest\setUp
setUp()
Definition:
ilTestSessionFactoryTest.php:29
ilTestSessionFactoryTest\$testObj
ilTestSessionFactory $testObj
Definition:
ilTestSessionFactoryTest.php:27
ilTestSessionFactory
Definition:
class.ilTestSessionFactory.php:28
getTestObjMock
getTestObjMock()
Definition:
ilTestBaseTestCaseTrait.php:453
components
ILIAS
Test
tests
ilTestSessionFactoryTest.php
Generated on Sat Oct 18 2025 23:04:32 for ILIAS by
1.9.4 (using
Doxyfile
)