ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilRandomTestROInputGUITest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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 }
This class represents a random test input property in a property form.
Class ilRandomTestROInputGUITest.