ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ilQuestionPoolSkillAdministrationGUITest.php
Go to the documentation of this file.
1<?php
2
20use ILIAS\HTTP\Services as HTTP;
21use ILIAS\Refinery\Factory as Refinery;
24use ILIAS\UI\Factory as UIFactory;
25use ILIAS\UI\Renderer as UIRenderer;
26
37{
38 protected $backupGlobals = false;
39
41
42 protected function setUp(): void
43 {
44 parent::setUp();
45
46 $this->object = new ilQuestionPoolSkillAdministrationGUI(
47 $this->createMock(ilCtrl::class),
48 $this->createMock(UIFactory::class),
49 $this->createMock(UIRenderer::class),
50 $this->createMock(GlobalHttpState::class),
51 $this->createMock(Refinery::class),
52 $this->createMock(ilAccessHandler::class),
53 $this->createMock(ilTabsGUI::class),
54 $this->createMock(ilGlobalTemplateInterface::class),
55 $this->createMock(ilLanguage::class),
56 $this->createMock(ilDBInterface::class),
57 $this->createMock(ilComponentRepository::class),
58 $this->createMock(ilObjQuestionPool::class),
59 $this->createMock(HTTP::class),
60 $this->createMock(ilToolbarGUI::class),
61 $this->createMock(SkillUsageService::class),
62 $this->createMock(RequestDataCollector::class),
63 0
64 );
65 }
66
67 public function testConstruct(): void
68 {
69 $this->assertInstanceOf(ilQuestionPoolSkillAdministrationGUI::class, $this->object);
70 }
71}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Builds data types.
Definition: Factory.php:36
Class Services.
Definition: Services.php:38
Class assBaseTestCase.
Interface GlobalHttpState.
An entity that renders components to a string output.
Definition: Renderer.php:31