ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilTestSkillLevelThresholdListTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
26 {
28 
29  protected function setUp(): void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilTestSkillLevelThresholdList(
34  $this->createMock(ilDBInterface::class)
35  );
36  }
37 
39  {
40  $this->assertInstanceOf(ilTestSkillLevelThresholdList::class, $this->testObj);
41  }
42 
43  public function testTestId(): void
44  {
45  $this->testObj->setTestId(20);
46  $this->assertEquals(20, $this->testObj->getTestId());
47  }
48 }
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...