ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilRandomTestROInputGUITest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilRandomTestROInputGUITest
extends
ilTestBaseTestCase
26
{
27
private
ilRandomTestROInputGUI
$testObj
;
28
29
protected
function
setUp
(): void
30
{
31
parent::setUp();
32
33
$this->testObj =
new
ilRandomTestROInputGUI
();
34
}
35
36
public
function
test_instantiateObject_shouldReturnInstance
(): void
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
}
ilRandomTestROInputGUI
This class represents a random test input property in a property form.
Definition:
class.ilRandomTestROInputGUI.php:28
ilTestBaseTestCase
ilRandomTestROInputGUITest
Class ilRandomTestROInputGUITest.
Definition:
ilRandomTestROInputGUITest.php:25
ilRandomTestROInputGUITest\setUp
setUp()
Definition:
ilRandomTestROInputGUITest.php:29
ilRandomTestROInputGUITest\testSetValues
testSetValues()
Definition:
ilRandomTestROInputGUITest.php:41
ilRandomTestROInputGUITest\$testObj
ilRandomTestROInputGUI $testObj
Definition:
ilRandomTestROInputGUITest.php:27
ilRandomTestROInputGUITest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilRandomTestROInputGUITest.php:36
components
ILIAS
Test
tests
ilRandomTestROInputGUITest.php
Generated on Sun Aug 31 2025 23:04:00 for ILIAS by
1.8.13 (using
Doxyfile
)