ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestToplistGUITest.php
Go to the documentation of this file.
1<?php
2
19declare(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}
Builds data types.
Definition: Factory.php:36
Class ilTestBaseClass.
Class ilTestToplistGUITest.
global $DIC
Definition: shib_login.php:26