ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestToplistGUITest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
23 
29 {
31 
32  protected function setUp(): void
33  {
34  global $DIC;
35  parent::setUp();
36 
37  $this->testObj = new ilTestToplistGUI(
38  $this->getTestObjMock(),
39  $this->createMock(TestTopListRepository::class),
40  $DIC['ilCtrl'],
41  $DIC['tpl'],
42  $DIC['lng'],
43  $DIC['ilUser'],
44  $DIC['ui.factory'],
45  $DIC['ui.renderer'],
46  $this->createMock(Factory::class),
47  $DIC['http']
48  );
49  }
50 
52  {
53  $this->assertInstanceOf(ilTestToplistGUI::class, $this->testObj);
54  }
55 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:22
Class ilTestToplistGUITest.