ILIAS  release_8 Revision v8.24
ilTestResultsToXMLTest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
26{
28
29 protected function setUp(): void
30 {
31 parent::setUp();
32
33 $this->testObj = new ilTestResultsToXML(
34 0,
35 false
36 );
37 }
38
40 {
41 $this->assertInstanceOf(ilTestResultsToXML::class, $this->testObj);
42 }
43
45 {
46 $this->testObj->setIncludeRandomTestQuestionsEnabled(false);
47 $this->assertFalse($this->testObj->isIncludeRandomTestQuestionsEnabled());
48
49 $this->testObj->setIncludeRandomTestQuestionsEnabled(true);
50 $this->assertTrue($this->testObj->isIncludeRandomTestQuestionsEnabled());
51 }
52}
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...