ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilObjQuestionPoolSettingsGeneralGUITest.php
Go to the documentation of this file.
1<?php
2
19use ILIAS\UI\Factory as UIFactory;
20use ILIAS\Refinery\Factory as Refinery;
21use ILIAS\UI\Renderer as UIRenderer;
22use Psr\Http\Message\ServerRequestInterface as HttpRequest;
23
34{
35 protected $backupGlobals = false;
36
38
39 protected function setUp(): void
40 {
41 parent::setUp();
42
43 $this->object = new ilObjQuestionPoolSettingsGeneralGUI(
44 $this->createMock(ilCtrl::class),
45 $this->createMock(ilAccessHandler::class),
46 $this->createMock(ilLanguage::class),
47 $this->createMock(ilGlobalTemplateInterface::class),
48 $this->createMock(ilTabsGUI::class),
49 $this->createConfiguredMock(ilObjQuestionPoolGUI::class, [
50 'getObject' => $this->createMock(ilObject::class)
51 ]),
52 $this->createMock(Refinery::class),
53 $this->createMock(UIFactory::class),
54 $this->createMock(UIRenderer::class),
55 $this->createMock(HttpRequest::class)
56 );
57 }
58
59 public function testConstruct(): void
60 {
61 $this->assertInstanceOf(ilObjQuestionPoolSettingsGeneralGUI::class, $this->object);
62 }
63}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Builds data types.
Definition: Factory.php:36
Class assBaseTestCase.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An entity that renders components to a string output.
Definition: Renderer.php:31