ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ExportFixedQuestionSetTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace 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(\ilLanguage::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 $DIC['ilUser']
53 );
54 }
55
57 {
58 $this->assertInstanceOf(ExportFixedQuestionSet::class, $this->testObj);
59 }
60}
Class ilTestBaseClass.
addGlobal_resourceStorage()
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26