ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 }
Interface Observer Contains several chained tasks and infos about them.
Class assBaseTestCase.
global $lng
Definition: privfeed.php:31