ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestFixedQuestionSetConfigTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
28
29 protected function setUp(): void
30 {
31 parent::setUp();
32
33 $test_logger = $this->createMock(ILIAS\Test\Logging\TestLogger::class);
34 $this->testObj = new ilTestFixedQuestionSetConfig(
35 $this->createMock(ilTree::class),
36 $this->createMock(ilDBInterface::class),
37 $this->createMock(ilLanguage::class),
38 $test_logger,
39 $this->createMock(ilComponentRepository::class),
40 $this->getTestObjMock(),
41 $this->createMock(\ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class),
42 );
43 }
44
46 {
47 $this->assertInstanceOf(ilTestFixedQuestionSetConfig::class, $this->testObj);
48 }
49
50 public function testIsQuestionSetConfigured(): void
51 {
52 $this->assertFalse($this->testObj->isQuestionSetConfigured());
53 }
54
56 {
57 $this->assertFalse($this->testObj->doesQuestionSetRelatedDataExist());
58 }
59}
Class ilTestBaseClass.
Class ilTestFixedQuestionSetConfigTest.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.