ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestParticipantsGUITest.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 $this->addGlobal_ilAccess();
34 $this->addGlobal_ilTabs();
35 $this->addGlobal_ilToolbar();
37
38 $this->testObj = new ilTestParticipantsGUI(
39 $this->getTestObjMock(),
40 $this->createMock(\ilObjUser::class),
41 $this->createMock(ilTestObjectiveOrientedContainer::class),
42 $this->createMock(ilTestQuestionSetConfig::class),
43 $DIC['ilAccess'],
44 $this->createMock(ilTestAccess::class),
45 $DIC['tpl'],
46 $DIC['ui.factory'],
47 $DIC['ui.renderer'],
48 $this->createMock(ilUIService::class),
49 $this->createMock(ILIAS\Data\Factory::class),
50 $DIC['lng'],
51 $DIC['ilCtrl'],
52 $DIC['refinery'],
53 $DIC['ilDB'],
54 $this->createMock(\ILIAS\Test\Presentation\TabsManager::class),
55 $DIC['ilToolbar'],
56 $DIC['component.factory'],
57 $this->createMock(\ILIAS\Test\ExportImport\Factory::class),
58 $this->createMock(\ILIAS\Test\RequestDataCollector::class),
59 $this->createMock(\ILIAS\Test\ResponseHandler::class),
60 $this->createMock(\ILIAS\Test\Participants\ParticipantRepository::class),
61 $this->createMock(ILIAS\Test\Results\Data\Factory::class),
62 $this->createMock(ILIAS\Test\Results\Presentation\Factory::class),
63 $this->createMock(\ILIAS\Test\Results\Data\Repository::class)
64 );
65 }
66
68 {
69 $this->assertInstanceOf(ilTestParticipantsGUI::class, $this->testObj);
70 }
71}
Class ilTestBaseClass.
Class ilTestParticipantsGUITest.
Class ilTestParticipantsGUI.
addGlobal_ilComponentFactory()
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26