ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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
}
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 Wed Sep 10 2025 15:16:36 for ILIAS by
1.8.13 (using
Doxyfile
)