ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ 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
}
getTestObjMock
getTestObjMock()
Definition:
ilTestBaseTestCaseTrait.php:444
ilTestSessionFactoryTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilTestSessionFactoryTest.php:40
ilTestBaseTestCase
ilTestSessionFactory
Definition:
class.ilTestSessionFactory.php:27
ilTestSessionFactoryTest
Class ilTestSessionFactoryTest.
Definition:
ilTestSessionFactoryTest.php:25
ilTestSessionFactoryTest\$testObj
ilTestSessionFactory $testObj
Definition:
ilTestSessionFactoryTest.php:27
ilTestSessionFactoryTest\setUp
setUp()
Definition:
ilTestSessionFactoryTest.php:29
components
ILIAS
Test
tests
ilTestSessionFactoryTest.php
Generated on Sun Aug 31 2025 23:04:00 for ILIAS by
1.8.13 (using
Doxyfile
)