ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilRandomTestROInputGUITest.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 $this->testObj = new ilRandomTestROInputGUI();
34 }
35
37 {
38 $this->assertInstanceOf(ilRandomTestROInputGUI::class, $this->testObj);
39 }
40
41 public function testSetValues(): void
42 {
43 $expected = [
44 'test' => 'test2',
45 'hello' => 'world'
46 ];
47 $this->testObj->setValues($expected);
48 $this->assertEquals($this->testObj->getValues(), $expected);
49 }
50}
Class ilRandomTestROInputGUITest.
This class represents a random test input property in a property form.
Class ilTestBaseClass.