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());
    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());
 
testCurSkillLevelThreshold()
 
ilTestSkillLevelThresholdXmlParser $testObj
 
testInitSkillLevelThresholdImportList()
 
Class ilTestSkillLevelThresholdXmlParserTest. 
 
test_instantiateObject_shouldReturnInstance()