19 declare(strict_types=1);
29 protected function setUp(): void
39 $this->assertInstanceOf(ilTestSkillLevelThresholdImporter::class, $this->testObj);
44 $this->testObj->setTargetTestId(12);
45 $this->assertEquals(12, $this->testObj->getTargetTestId());
50 $this->testObj->setImportInstallationId(12);
51 $this->assertEquals(12, $this->testObj->getImportInstallationId());
56 $mock = $this->createMock(ilImportMapping::class);
57 $this->testObj->setImportMappingRegistry($mock);
58 $this->assertEquals($mock, $this->testObj->getImportMappingRegistry());
63 $mock = $this->createMock(ilAssQuestionSkillAssignmentList::class);
64 $this->testObj->setImportedQuestionSkillAssignmentList($mock);
65 $this->assertEquals($mock, $this->testObj->getImportedQuestionSkillAssignmentList());
70 $mock = $this->createMock(ilTestSkillLevelThresholdImportList::class);
71 $this->testObj->setImportThresholdList($mock);
72 $this->assertEquals($mock, $this->testObj->getImportThresholdList());
77 $mock = $this->createMock(ilAssQuestionAssignedSkillList::class);
78 $this->testObj->setFailedThresholdImportSkillList($mock);
79 $this->assertEquals($mock, $this->testObj->getFailedThresholdImportSkillList());
ilTestSkillLevelThresholdImporter $testObj
Class ilTestSkillLevelThresholdImporterTest.
test_instantiateObject_shouldReturnInstance()
testImportMappingRegistry()
testImportThresholdList()
testImportInstallationId()
testImportedQuestionSkillAssignmentList()
testFailedThresholdImportSkillList()