ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestRandomQuestionSetConfigGUITest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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_ilUser();
36  $this->addGlobal_ilAccess();
37  $this->addGlobal_uiFactory();
38  $this->addGlobal_uiRenderer();
39  $this->addGlobal_ilTabs();
40  $this->addGlobal_ilLog();
41  $this->addGlobal_tree();
43  $this->addGlobal_objDefinition();
44  $this->addGlobal_ilObjDataCache();
45 
46  $this->testObj = new ilTestRandomQuestionSetConfigGUI(
47  $this->getMockBuilder(ilObjTest::class)->disableOriginalConstructor()->getMock(),
48  $DIC['ilCtrl'],
49  $DIC['ilUser'],
50  $DIC['ilAccess'],
51  $DIC['ui.factory'],
52  $DIC['ui.renderer'],
53  $DIC['ilTabs'],
54  $DIC['lng'],
55  $DIC['ilLog'],
56  $DIC['tpl'],
57  $DIC['ilDB'],
58  $DIC['tree'],
59  $DIC['component.repository'],
60  $DIC['objDefinition'],
61  $DIC['ilObjDataCache'],
62  $this->getMockBuilder(ilTestProcessLockerFactory::class)->disableOriginalConstructor()->getMock(),
63  $this->createMock(ILIAS\Test\InternalRequestService::class),
64  $this->createMock(\ILIAS\TestQuestionPool\QuestionInfoService::class)
65  );
66  }
67 
69  {
70  $this->assertInstanceOf(ilTestRandomQuestionSetConfigGUI::class, $this->testObj);
71  }
72 }
Class ChatMainBarProvider .
global $DIC
Definition: feed.php:28
Class ilTestRandomQuestionSetConfigGUITest.
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...