ILIAS  release_8 Revision v8.24
ilRandomTestROInputGUITest.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->addGlobal_ilCtrl();
34 $this->addGlobal_lng();
35
36 $this->testObj = new ilRandomTestROInputGUI();
37 }
38
40 {
41 $this->assertInstanceOf(ilRandomTestROInputGUI::class, $this->testObj);
42 }
43
44 public function testSetValues(): void
45 {
46 $expected = [
47 "test" => "test2",
48 "hello" => "world"
49 ];
50 $this->testObj->setValues($expected);
51 $this->assertEquals($this->testObj->getValues(), $expected);
52 }
53}
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...
Class ilTestBaseClass.