19 declare(strict_types=1);
29 protected function setUp(): void
46 $this->createMock(ilObjTest::class),
57 $this->createMock(ilTestQuestionSetConfig::class),
58 $this->createMock(\
ILIAS\
Test\InternalRequestService::class)
64 $this->assertInstanceOf(ilTestDashboardGUI::class, $this->testObj);
69 $objTest_mock = $this->createMock(ilObjTest::class);
70 $this->testObj->setTestObj($objTest_mock);
71 $this->assertEquals($objTest_mock, $this->testObj->getTestObj());
76 $testQuestionSetConfig_mock = $this->createMock(ilTestQuestionSetConfig::class);
77 $this->testObj->setQuestionSetConfig($testQuestionSetConfig_mock);
78 $this->assertEquals($testQuestionSetConfig_mock, $this->testObj->getQuestionSetConfig());
83 $testAccess_mock = $this->createMock(ilTestAccess::class);
84 $this->testObj->setTestAccess($testAccess_mock);
85 $this->assertEquals($testAccess_mock, $this->testObj->getTestAccess());
90 $testTabsManager_mock = $this->createMock(ilTestTabsManager::class);
91 $this->testObj->setTestTabs($testTabsManager_mock);
92 $this->assertEquals($testTabsManager_mock, $this->testObj->getTestTabs());
97 $objectiveParent_mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
98 $this->testObj->setObjectiveParent($objectiveParent_mock);
99 $this->assertEquals($objectiveParent_mock, $this->testObj->getObjectiveParent());
Class ChatMainBarProvider .
Class ilTestDashboardGUITest.
test_instantiateObject_shouldReturnInstance()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilTestDashboardGUI $testObj