ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssQuestionListTest.php
Go to the documentation of this file.
1<?php
2
29{
30 protected $backupGlobals = false;
31
33
34 protected function setUp(): void
35 {
36 parent::setUp();
37
38 $db = $this->createMock(ilDBInterface::class);
39 $lng = $this->createMock(ilLanguage::class);
40 $refinery = $this->createMock(ILIAS\Refinery\Factory::class);
41 $component_repository = $this->createMock(ilComponentRepository::class);
42 $notes_service = $this->createMock(ILIAS\Notes\Service::class);
43
44 $this->object = new ilAssQuestionList($db, $lng, $refinery, $component_repository, $notes_service);
45 }
46
47 public function testConstruct(): void
48 {
49 $this->assertInstanceOf(ilAssQuestionList::class, $this->object);
50 }
51}
Class assBaseTestCase.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $lng
Definition: privfeed.php:31