ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestQuestionSetConfigFactoryTest.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_lng();
35  $this->addGlobal_ilLog();
37 
38  $this->testObj = new ilTestQuestionSetConfigFactory(
39  $DIC['tree'],
40  $DIC['ilDB'],
41  $DIC['lng'],
42  $DIC['ilLog'],
43  $DIC['component.repository'],
44  $this->createMock(ilObjTest::class),
45  $this->createMock(\ILIAS\TestQuestionPool\QuestionInfoService::class)
46  );
47  }
48 
50  {
51  $this->assertInstanceOf(ilTestQuestionSetConfigFactory::class, $this->testObj);
52  }
53 }
Class ChatMainBarProvider .
global $DIC
Definition: feed.php:28
Class ilTestBaseClass.
Class ilTestQuestionSetConfigFactoryTest.