ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
ilTestQuestionSetConfigFactoryTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilTestQuestionSetConfigFactoryTest
extends
ilTestBaseTestCase
26
{
27
private
ilTestQuestionSetConfigFactory
$testObj
;
28
29
protected
function
setUp
(): void
30
{
31
global
$DIC
;
32
parent::setUp();
33
34
$this->
addGlobal_lng
();
35
$this->
addGlobal_ilLog
();
36
$this->
addGlobal_ilComponentRepository
();
37
38
$this->testObj =
new
ilTestQuestionSetConfigFactory
(
39
$DIC[
'tree'
],
40
$DIC[
'ilDB'
],
41
$DIC[
'lng'
],
42
$DIC[
'ilLog'
],
43
$DIC[
'component.repository'
],
44
$this->createMock(ilObjTest::class),
45
$this->createMock(\
ILIAS
\TestQuestionPool\QuestionInfoService::class)
46
);
47
}
48
49
public
function
test_instantiateObject_shouldReturnInstance
(): void
50
{
51
$this->assertInstanceOf(ilTestQuestionSetConfigFactory::class, $this->testObj);
52
}
53
}
ILIAS
Class ChatMainBarProvider .
ilTestQuestionSetConfigFactory
Definition:
class.ilTestQuestionSetConfigFactory.php:31
ilTestBaseTestCase\addGlobal_ilComponentRepository
addGlobal_ilComponentRepository()
Definition:
ilTestBaseTestCase.php:245
ilTestBaseTestCase\addGlobal_lng
addGlobal_lng()
Definition:
ilTestBaseTestCase.php:185
$DIC
global $DIC
Definition:
feed.php:28
ilTestQuestionSetConfigFactoryTest\setUp
setUp()
Definition:
ilTestQuestionSetConfigFactoryTest.php:29
ilTestBaseTestCase\addGlobal_ilLog
addGlobal_ilLog()
Definition:
ilTestBaseTestCase.php:210
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:36
ilTestQuestionSetConfigFactoryTest\$testObj
ilTestQuestionSetConfigFactory $testObj
Definition:
ilTestQuestionSetConfigFactoryTest.php:27
ilTestQuestionSetConfigFactoryTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilTestQuestionSetConfigFactoryTest.php:49
ilTestQuestionSetConfigFactoryTest
Class ilTestQuestionSetConfigFactoryTest.
Definition:
ilTestQuestionSetConfigFactoryTest.php:25
Modules
Test
test
ilTestQuestionSetConfigFactoryTest.php
Generated on Wed Sep 10 2025 14:11:08 for ILIAS by
1.8.13 (using
Doxyfile
)