ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestResultsToXMLTest.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 global $DIC;
32 parent::setUp();
33
34 $this->testObj = new ilTestResultsToXML(
35 0,
36 $DIC['ilDB'],
37 $DIC['resource_storage'],
38 '',
39 false
40 );
41 }
42
44 {
45 $this->assertInstanceOf(ilTestResultsToXML::class, $this->testObj);
46 }
47
49 {
50 $this->testObj->setIncludeRandomTestQuestionsEnabled(false);
51 $this->assertFalse($this->testObj->isIncludeRandomTestQuestionsEnabled());
52
53 $this->testObj->setIncludeRandomTestQuestionsEnabled(true);
54 $this->assertTrue($this->testObj->isIncludeRandomTestQuestionsEnabled());
55 }
56}
Class ilTestBaseClass.
Class ilTestResultsToXMLTest.
global $DIC
Definition: shib_login.php:26