ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilObjQuestionPoolTaxonomyEditingCommandForwarderTest.php
Go to the documentation of this file.
1<?php
2
20
31{
32 protected $backupGlobals = false;
33
35
36 protected function setUp(): void
37 {
38 parent::setUp();
39
40 $poolOBJ = $this->createMock(ilObjQuestionPool::class);
41 $db = $this->createMock(ilDBInterface::class);
42 $refinery = $this->createMock(ILIAS\Refinery\Factory::class);
43 $component_repository = $this->createMock(ilComponentRepository::class);
44 $ctrl = $this->createMock(ilCtrl::class);
45 $tabs = $this->createMock(ilTabsGUI::class);
46 $lng = $this->createMock(ilLanguage::class);
47 $taxonomy = $this->createMock(Service::class);
48
49 $this->object = new ilObjQuestionPoolTaxonomyEditingCommandForwarder($poolOBJ, $db, $refinery, $component_repository, $ctrl, $tabs, $lng, $taxonomy);
50 }
51
52 public function testConstruct(): void
53 {
54 $this->assertInstanceOf(ilObjQuestionPoolTaxonomyEditingCommandForwarder::class, $this->object);
55 }
56}
Class assBaseTestCase.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $lng
Definition: privfeed.php:31