3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   38        $this->assertInstanceOf(ilTestSkillLevelThresholdXmlParser::class, $this->testObj);
 
   43        $this->testObj->setParsingActive(
false);
 
   44        $this->assertFalse($this->testObj->isParsingActive());
 
   46        $this->testObj->setParsingActive(
true);
 
   47        $this->assertTrue($this->testObj->isParsingActive());
 
   53        $this->testObj->initSkillLevelThresholdImportList();
 
   54        $this->assertInstanceOf(
 
   55            ilTestSkillLevelThresholdImportList::class,
 
   56            $this->testObj->getSkillLevelThresholdImportList()
 
   62        $this->testObj->setCurSkillBaseId(12);
 
   63        $this->assertEquals(12, $this->testObj->getCurSkillBaseId());
 
   68        $this->testObj->setCurSkillTrefId(12);
 
   69        $this->assertEquals(12, $this->testObj->getCurSkillTrefId());
 
   74        $mock = $this->createMock(ilTestSkillLevelThresholdImport::class);
 
   75        $this->testObj->setCurSkillLevelThreshold($mock);
 
   76        $this->assertEquals($mock, $this->testObj->getCurSkillLevelThreshold());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
testInitSkillLevelThresholdImportList()
 
testCurSkillLevelThreshold()
 
ilTestSkillLevelThresholdXmlParser $testObj
 
test_instantiateObject_shouldReturnInstance()