19 declare(strict_types=1);
29 protected function setUp(): void
58 $this->createMock(ilTestParticipantAccessFilterFactory::class),
59 $this->createMock(
ILIAS\
Test\InternalRequestService::class),
67 $this->assertInstanceOf(ilParticipantsTestResultsGUI::class, $this->testObj);
72 $objTest_mock = $this->createMock(ilObjTest::class);
74 $this->assertNull($this->testObj->getTestObj());
76 $this->testObj->setTestObj($objTest_mock);
77 $this->assertEquals($objTest_mock, $this->testObj->getTestObj());
82 $testQuestionSetConfig_mock = $this->createMock(ilTestQuestionSetConfig::class);
84 $this->assertNull($this->testObj->getQuestionSetConfig());
86 $this->testObj->setQuestionSetConfig($testQuestionSetConfig_mock);
87 $this->assertEquals($testQuestionSetConfig_mock, $this->testObj->getQuestionSetConfig());
92 $testAccess_mock = $this->createMock(ilTestAccess::class);
94 $this->assertNull($this->testObj->getTestAccess());
96 $this->testObj->setTestAccess($testAccess_mock);
97 $this->assertEquals($testAccess_mock, $this->testObj->getTestAccess());
102 $objectiveParent_mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
104 $this->assertNull($this->testObj->getObjectiveParent());
106 $this->testObj->setObjectiveParent($objectiveParent_mock);
107 $this->assertEquals($objectiveParent_mock, $this->testObj->getObjectiveParent());
addGlobal_ilLoggerFactory()
ilParticipantsTestResultsGUI: ilTestEvaluationGUI ilParticipantsTestResultsGUI: ilAssQuestionPageGUI...
Class ChatMainBarProvider .
Class ilParticipantsTestResultsGUITest.
test_instantiateObject_shouldReturnInstance()
ilParticipantsTestResultsGUI $testObj
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...