ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
QuestionTableTest.php
Go to the documentation of this file.
1<?php
2
20use ILIAS\UI\Factory as UIFactory;
21use ILIAS\UI\Renderer as UIRenderer;
22use ILIAS\Data\Factory as DataFactory;
25use ILIAS\Taxonomy\DomainService as TaxonomyService;
26
37{
38 protected $backupGlobals = false;
39
41
42 protected function setUp(): void
43 {
44 parent::setUp();
45
46 $this->object = new QuestionTable(
47 $this->createMock(UIFactory::class),
48 $this->createMock(UIRenderer::class),
49 $this->createMock(DataFactory::class),
50 $this->createMock(ILIAS\Refinery\Factory::class),
51 $this->createMock(URLBuilder::class),
52 $this->createMock(URLBuilderToken::class),
53 $this->createMock(URLBuilderToken::class),
54 $this->createMock(ilDBInterface::class),
55 $this->createMock(ilLanguage::class),
56 $this->createMock(ilComponentRepository::class),
57 $this->createMock(ilRbacSystem::class),
58 $this->createMock(ilObjUser::class),
59 $this->createMock(TaxonomyService::class),
60 $this->createMock(ILIAS\Notes\Service::class),
61 0,
62 0
63 );
64 }
65
66 public function testConstruct(): void
67 {
68 $this->assertInstanceOf(QuestionTable::class, $this->object);
69 }
70}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Builds data types.
Definition: Factory.php:36
QuestionTable $object
Class assBaseTestCase.
An entity that renders components to a string output.
Definition: Renderer.php:31
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.