ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestRandomQuestionSetConfigGUITest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
28
29 protected function setUp(): void
30 {
31 global $DIC;
32 parent::setUp();
33
34 $this->addGlobal_ilCtrl();
35 $this->addGlobal_http();
36 $this->addGlobal_ilUser();
37 $this->addGlobal_ilTabs();
38 $this->addGlobal_tree();
40
41 $this->testObj = new ilTestRandomQuestionSetConfigGUI(
42 $this->getTestObjMock(),
43 $DIC['ilCtrl'],
44 $DIC['ilUser'],
45 $DIC['ilAccess'],
46 $DIC['ui.factory'],
47 $DIC['ui.renderer'],
48 $this->createMock(ILIAS\Data\Factory::class),
49 $this->createMock(\ILIAS\Test\Presentation\TabsManager::class),
50 $DIC['lng'],
51 $this->createMock(ILIAS\Test\Logging\TestLogger::class),
52 $DIC['tpl'],
53 $DIC['ilDB'],
54 $DIC['tree'],
55 $DIC['component.repository'],
56 $DIC['objDefinition'],
57 $DIC['ilObjDataCache'],
58 $this->getMockBuilder(ilTestProcessLockerFactory::class)->disableOriginalConstructor()->getMock(),
59 $this->createMock(ILIAS\Test\RequestDataCollector::class),
60 $this->createMock(ILIAS\Test\Utilities\TitleColumnsBuilder::class),
61 $this->createMock(\ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class)
62 );
63 }
64
66 {
67 $this->assertInstanceOf(ilTestRandomQuestionSetConfigGUI::class, $this->testObj);
68 }
69}
Class ilTestBaseClass.
Class ilTestRandomQuestionSetConfigGUITest.
addGlobal_ilObjDataCache()
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26