ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilTestSkillLevelThresholdListTest.php
Go to the documentation of this file.
1
<?php
2
23
class
ilTestSkillLevelThresholdListTest
extends
ilTestBaseTestCase
24
{
25
private
ilTestSkillLevelThresholdList
$testObj
;
26
27
protected
function
setUp
(): void
28
{
29
parent::setUp();
30
31
$this->testObj =
new
ilTestSkillLevelThresholdList
($this->createMock(ilDBInterface::class));
32
}
33
34
public
function
test_instantiateObject_shouldReturnInstance
(): void
35
{
36
$this->assertInstanceOf(ilTestSkillLevelThresholdList::class, $this->testObj);
37
}
38
39
public
function
testTestId
(): void
40
{
41
$testId = 20;
42
$this->testObj->setTestId($testId);
43
$this->assertEquals($testId, $this->testObj->getTestId());
44
}
45
}
ilTestSkillLevelThresholdListTest\$testObj
ilTestSkillLevelThresholdList $testObj
Definition:
ilTestSkillLevelThresholdListTest.php:25
ilTestSkillLevelThresholdList
Definition:
class.ilTestSkillLevelThresholdList.php:27
ilTestBaseTestCase
ilTestSkillLevelThresholdListTest\setUp
setUp()
Definition:
ilTestSkillLevelThresholdListTest.php:27
ilTestSkillLevelThresholdListTest\testTestId
testTestId()
Definition:
ilTestSkillLevelThresholdListTest.php:39
ilTestSkillLevelThresholdListTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilTestSkillLevelThresholdListTest.php:34
ilTestSkillLevelThresholdListTest
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ilTestSkillLevelThresholdListTest.php:23
components
ILIAS
Test
tests
ilTestSkillLevelThresholdListTest.php
Generated on Sun Aug 31 2025 23:04:00 for ILIAS by
1.8.13 (using
Doxyfile
)