ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ 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
}
getTestObjMock
getTestObjMock()
Definition:
ilTestBaseTestCaseTrait.php:444
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
ilAssQuestionPageCommandForwarder
Definition:
class.ilAssQuestionPageCommandForwarder.php:32
ilAssQuestionPageCommandForwarderTest\setUp
setUp()
Definition:
ilAssQuestionPageCommandForwarderTest.php:29
ilTestBaseTestCase
ilAssQuestionPageCommandForwarderTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilAssQuestionPageCommandForwarderTest.php:43
ilAssQuestionPageCommandForwarderTest\$testObj
ilAssQuestionPageCommandForwarder $testObj
Definition:
ilAssQuestionPageCommandForwarderTest.php:27
ilAssQuestionPageCommandForwarderTest
Class ilAssQuestionPageCommandForwarderTest.
Definition:
ilAssQuestionPageCommandForwarderTest.php:25
ILIAS\Tests\Setup
components
ILIAS
Test
tests
ilAssQuestionPageCommandForwarderTest.php
Generated on Sun Aug 31 2025 23:04:00 for ILIAS by
1.8.13 (using
Doxyfile
)