19 declare(strict_types=1);
29 protected function setUp(): void
48 $this->createMock(ilObjTest::class),
49 $this->createMock(ilTestQuestionSetConfig::class),
56 $this->createMock(\
ILIAS\
DI\LoggingServices::class),
57 $DIC[
'component.repository'],
63 $this->createMock(
ILIAS\Skill\Service\SkillService::class),
64 $this->createMock(
ILIAS\
Test\InternalRequestService::class),
65 $this->createMock(\
ILIAS\TestQuestionPool\QuestionInfoService::class),
72 $this->assertInstanceOf(ilTestResultsGUI::class, $this->testObj);
77 $mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
78 $this->testObj->setObjectiveParent($mock);
79 $this->assertEquals($mock, $this->testObj->getObjectiveParent());
84 $mock = $this->createMock(ilObjTest::class);
85 $this->testObj->setTestObj($mock);
86 $this->assertEquals($mock, $this->testObj->getTestObj());
91 $mock = $this->createMock(ilTestQuestionSetConfig::class);
92 $this->testObj->setQuestionSetConfig($mock);
93 $this->assertEquals($mock, $this->testObj->getQuestionSetConfig());
98 $mock = $this->createMock(ilTestAccess::class);
99 $this->testObj->setTestAccess($mock);
100 $this->assertEquals($mock, $this->testObj->getTestAccess());
105 $mock = $this->createMock(ilTestSession::class);
106 $this->testObj->setTestSession($mock);
107 $this->assertEquals($mock, $this->testObj->getTestSession());
112 $mock = $this->createMock(ilTestTabsManager::class);
113 $this->testObj->setTestTabs($mock);
114 $this->assertEquals($mock, $this->testObj->getTestTabs());
addGlobal_ilLoggerFactory()
Class ChatMainBarProvider .
Class ilTestResultsGUITest.
addGlobal_ilComponentRepository()
test_instantiateObject_shouldReturnInstance()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilTestResultsGUI $testObj