ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestSkillLevelThresholdImportTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
28 
29  protected function setUp(): void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilTestSkillLevelThresholdImport();
34  }
35 
37  {
38  $this->assertInstanceOf(ilTestSkillLevelThresholdImport::class, $this->testObj);
39  }
40 
41  public function testImportSkillBaseId(): void
42  {
43  $importSkillBaseId = 12;
44  $this->testObj->setImportSkillBaseId($importSkillBaseId);
45  $this->assertEquals($importSkillBaseId, $this->testObj->getImportSkillBaseId());
46  }
47 
48  public function testImportSkillTrefId(): void
49  {
50  $importSkillTrefId = 12;
51  $this->testObj->setImportSkillTrefId($importSkillTrefId);
52  $this->assertEquals($importSkillTrefId, $this->testObj->getImportSkillTrefId());
53  }
54 
55  public function testImportLevelId(): void
56  {
57  $importLevelId = 12;
58  $this->testObj->setImportLevelId($importLevelId);
59  $this->assertEquals($importLevelId, $this->testObj->getImportLevelId());
60  }
61 
62  public function testOrderIndex(): void
63  {
64  $orderIndex = 12;
65  $this->testObj->setOrderIndex($orderIndex);
66  $this->assertEquals($orderIndex, $this->testObj->getOrderIndex());
67  }
68 
69  public function testThreshold(): void
70  {
71  $threshold = 12;
72  $this->testObj->setThreshold($threshold);
73  $this->assertEquals($threshold, $this->testObj->getThreshold());
74  }
75 
76  public function testOriginalLevelTitle(): void
77  {
78  $originalLevelTitle = "test";
79  $this->testObj->setOriginalLevelTitle($originalLevelTitle);
80  $this->assertEquals($originalLevelTitle, $this->testObj->getOriginalLevelTitle());
81  }
82 
83  public function testOriginalLevelDescription(): void
84  {
85  $originalLevelDescription = "test";
86  $this->testObj->setOriginalLevelDescription($originalLevelDescription);
87  $this->assertEquals($originalLevelDescription, $this->testObj->getOriginalLevelDescription());
88  }
89 }
Class ilTestSkillLevelThresholdImportTest.