ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestExportRandomQuestionSetTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
28 
29  protected function setUp(): void
30  {
31  global $DIC;
32  parent::setUp();
33 
34  $this->addGlobal_ilBench();
35  $this->addGlobal_ilErr();
36  $this->addGlobal_ilias();
37  $this->addGlobal_lng();
38  $this->addGlobal_ilLog();
39  $this->addGlobal_tree();
41 
42  $objTest = $this->createMock(ilObjTest::class);
43  $this->testObj = new ilTestExportRandomQuestionSet($objTest, $DIC['lng'], $DIC['ilLog'], $DIC['tree'], $DIC['component.repository'], $this->createMock(\ILIAS\TestQuestionPool\QuestionInfoService::class));
44  }
45 
47  {
48  $this->assertInstanceOf(ilTestExportRandomQuestionSet::class, $this->testObj);
49  }
50 }
Class ChatMainBarProvider .
global $DIC
Definition: feed.php:28
Class ilTestExportRandomQuestionSetTest.
Class ilTestBaseClass.