19 declare(strict_types=1);
29 protected function setUp(): void
38 $this->assertInstanceOf(ilTestSkillLevelThresholdImport::class, $this->testObj);
43 $importSkillBaseId = 12;
44 $this->testObj->setImportSkillBaseId($importSkillBaseId);
45 $this->assertEquals($importSkillBaseId, $this->testObj->getImportSkillBaseId());
50 $importSkillTrefId = 12;
51 $this->testObj->setImportSkillTrefId($importSkillTrefId);
52 $this->assertEquals($importSkillTrefId, $this->testObj->getImportSkillTrefId());
58 $this->testObj->setImportLevelId($importLevelId);
59 $this->assertEquals($importLevelId, $this->testObj->getImportLevelId());
65 $this->testObj->setOrderIndex($orderIndex);
66 $this->assertEquals($orderIndex, $this->testObj->getOrderIndex());
72 $this->testObj->setThreshold($threshold);
73 $this->assertEquals($threshold, $this->testObj->getThreshold());
78 $originalLevelTitle =
"test";
79 $this->testObj->setOriginalLevelTitle($originalLevelTitle);
80 $this->assertEquals($originalLevelTitle, $this->testObj->getOriginalLevelTitle());
85 $originalLevelDescription =
"test";
86 $this->testObj->setOriginalLevelDescription($originalLevelDescription);
87 $this->assertEquals($originalLevelDescription, $this->testObj->getOriginalLevelDescription());
ilTestSkillLevelThresholdImport $testObj
testOriginalLevelDescription()
test_instantiateObject_shouldReturnInstance()
Class ilTestSkillLevelThresholdImportTest.