19 declare(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());
    52         $this->addGlobal_ilDB();
    53         $this->testObj->initSkillLevelThresholdImportList();
    54         $this->assertInstanceOf(
    55             ilTestSkillLevelThresholdImportList::class,
    56             $this->testObj->getSkillLevelThresholdImportList()
    63         $this->testObj->setCurSkillBaseId($curSkillBaseId);
    64         $this->assertEquals($curSkillBaseId, $this->testObj->getCurSkillBaseId());
    70         $this->testObj->setCurSkillTrefId($curSkillTrefId);
    71         $this->assertEquals($curSkillTrefId, $this->testObj->getCurSkillTrefId());
    76         $mock = $this->createMock(ilTestSkillLevelThresholdImport::class);
    77         $this->testObj->setCurSkillLevelThreshold($mock);
    78         $this->assertEquals($mock, $this->testObj->getCurSkillLevelThreshold());
 
testCurSkillLevelThreshold()
 
ilTestSkillLevelThresholdXmlParser $testObj
 
testInitSkillLevelThresholdImportList()
 
Class ilTestSkillLevelThresholdXmlParserTest. 
 
test_instantiateObject_shouldReturnInstance()