ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestSkillLevelThresholdListTest Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilTestSkillLevelThresholdListTest:
+ Collaboration diagram for ilTestSkillLevelThresholdListTest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
 testTestId ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 

Private Attributes

ilTestSkillLevelThresholdList $testObj
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilTestSkillLevelThresholdListTest

Author
Marvin Beym mbeym.nosp@m.@dat.nosp@m.abay..nosp@m.de

Definition at line 23 of file ilTestSkillLevelThresholdListTest.php.

Member Function Documentation

◆ setUp()

ilTestSkillLevelThresholdListTest::setUp ( )
protected

Definition at line 27 of file ilTestSkillLevelThresholdListTest.php.

27  : void
28  {
29  parent::setUp();
30 
31  $this->testObj = new ilTestSkillLevelThresholdList($this->createMock(ilDBInterface::class));
32  }

◆ test_instantiateObject_shouldReturnInstance()

ilTestSkillLevelThresholdListTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 34 of file ilTestSkillLevelThresholdListTest.php.

34  : void
35  {
36  $this->assertInstanceOf(ilTestSkillLevelThresholdList::class, $this->testObj);
37  }

◆ testTestId()

ilTestSkillLevelThresholdListTest::testTestId ( )

Definition at line 39 of file ilTestSkillLevelThresholdListTest.php.

39  : void
40  {
41  $testId = 20;
42  $this->testObj->setTestId($testId);
43  $this->assertEquals($testId, $this->testObj->getTestId());
44  }

Field Documentation

◆ $testObj

ilTestSkillLevelThresholdList ilTestSkillLevelThresholdListTest::$testObj
private

Definition at line 25 of file ilTestSkillLevelThresholdListTest.php.


The documentation for this class was generated from the following file: