ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ExportRandomQuestionSetTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
29 {
31 
32  protected function setUp(): void
33  {
34  global $DIC;
35  parent::setUp();
36 
37  $this->addGlobal_ilErr();
39 
40  $this->testObj = new ExportRandomQuestionSet(
41  $this->createMock(\ILIAS\Language\Language::class),
42  $this->createMock(\ilDBInterface::class),
43  $this->createmOck(\ilBenchmark::class),
44  $this->createMock(\ILIAS\Test\Logging\TestLogger::class),
45  $this->createMock(\ilTree::class),
46  $DIC['component.repository'],
47  $this->createMock(\ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class),
48  $this->createMock(\ILIAS\FileDelivery\Services::class),
49  $this->getTestObjMock(),
50  $DIC['resource_storage']
51  );
52  }
53 
55  {
56  $this->assertInstanceOf(ExportRandomQuestionSet::class, $this->testObj);
57  }
58 }
Interface Observer Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26
addGlobal_resourceStorage()
Class ilTestBaseClass.