ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ilAssQuestionPageCommandForwarderTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilAssQuestionPageCommandForwarderTest
extends
ilTestBaseTestCase
26
{
27
private
ilAssQuestionPageCommandForwarder
$testObj
;
28
29
protected
function
setUp
(): void
30
{
31
parent::setUp();
32
33
$this->testObj =
new
ilAssQuestionPageCommandForwarder
(
34
$this->
getTestObjMock
(),
35
$this->createMock(ilLanguage::class),
36
$this->createMock(ilCtrlInterface::class),
37
$this->createMock(ilGlobalTemplateInterface::class),
38
$this->createMock(
ILIAS
\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class),
39
$this->createMock(\
ILIAS
\
Test
\RequestDataCollector::class)
40
);
41
}
42
43
public
function
test_instantiateObject_shouldReturnInstance
(): void
44
{
45
$this->assertInstanceOf(ilAssQuestionPageCommandForwarder::class, $this->testObj);
46
}
47
}
ilAssQuestionPageCommandForwarderTest
Class ilAssQuestionPageCommandForwarderTest.
Definition:
ilAssQuestionPageCommandForwarderTest.php:26
ilAssQuestionPageCommandForwarderTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilAssQuestionPageCommandForwarderTest.php:43
ilAssQuestionPageCommandForwarderTest\$testObj
ilAssQuestionPageCommandForwarder $testObj
Definition:
ilAssQuestionPageCommandForwarderTest.php:27
ilAssQuestionPageCommandForwarderTest\setUp
setUp()
Definition:
ilAssQuestionPageCommandForwarderTest.php:29
ilAssQuestionPageCommandForwarder
Definition:
class.ilAssQuestionPageCommandForwarder.php:33
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:31
getTestObjMock
getTestObjMock()
Definition:
ilTestBaseTestCaseTrait.php:453
ILIAS\Tests\Setup
ILIAS
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
components
ILIAS
Test
tests
ilAssQuestionPageCommandForwarderTest.php
Generated on Sat Oct 18 2025 23:04:32 for ILIAS by
1.9.4 (using
Doxyfile
)