ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ 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
(
32
$this->createMock(ilDBInterface::class)
33
);
34
}
35
36
public
function
test_instantiateObject_shouldReturnInstance
(): void
37
{
38
$this->assertInstanceOf(ilTestSkillLevelThresholdList::class, $this->testObj);
39
}
40
41
public
function
testTestId
(): void
42
{
43
$this->testObj->setTestId(20);
44
$this->assertEquals(20, $this->testObj->getTestId());
45
}
46
}
ilTestSkillLevelThresholdListTest\$testObj
ilTestSkillLevelThresholdList $testObj
Definition:
ilTestSkillLevelThresholdListTest.php:25
ilTestSkillLevelThresholdList
Definition:
class.ilTestSkillLevelThresholdList.php:27
ilTestSkillLevelThresholdListTest\setUp
setUp()
Definition:
ilTestSkillLevelThresholdListTest.php:27
ilTestSkillLevelThresholdListTest\testTestId
testTestId()
Definition:
ilTestSkillLevelThresholdListTest.php:41
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:36
ilTestSkillLevelThresholdListTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilTestSkillLevelThresholdListTest.php:36
ilTestSkillLevelThresholdListTest
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ilTestSkillLevelThresholdListTest.php:23
Modules
Test
test
ilTestSkillLevelThresholdListTest.php
Generated on Wed Sep 10 2025 14:11:08 for ILIAS by
1.8.13 (using
Doxyfile
)