ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
ilTestToplistGUITest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
24
30{
32
33 protected function setUp(): void
34 {
35 global $DIC;
36 parent::setUp();
37
38 $this->testObj = new ilTestToplistGUI(
39 $this->getTestObjMock(),
40 $this->createMock(TestTopListRepository::class),
41 $DIC['ilCtrl'],
42 $DIC['tpl'],
43 $DIC['lng'],
44 $DIC['ilUser'],
45 $DIC['ui.factory'],
46 $DIC['ui.renderer'],
47 $this->createMock(Factory::class),
48 $DIC['http'],
49 $this->createMock(ParticipantRepository::class)
50 );
51 }
52
54 {
55 $this->assertInstanceOf(ilTestToplistGUI::class, $this->testObj);
56 }
57}
Builds data types.
Definition: Factory.php:36
Class ilTestBaseClass.
Class ilTestToplistGUITest.
global $DIC
Definition: shib_login.php:26