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