19 declare(strict_types=1);
33 protected function setUp(): void
38 $this->createMock(ilCtrl::class),
39 $this->createMock(ilGlobalPageTemplate::class),
40 $this->createMock(ilLanguage::class),
41 $this->createMock(ilDBInterface::class),
42 $this->createMock(RequestDataCollector::class),
49 $this->assertInstanceOf(ilTestSkillLevelThresholdsGUI::class, $this->testObj);
54 $questionContainerId = 12;
55 $this->testObj->setQuestionContainerId($questionContainerId);
56 $this->assertEquals($questionContainerId, $this->testObj->getQuestionContainerId());
61 $this->testObj->setQuestionAssignmentColumnsEnabled(
false);
62 $this->assertFalse($this->testObj->areQuestionAssignmentColumnsEnabled());
64 $this->testObj->setQuestionAssignmentColumnsEnabled(
true);
65 $this->assertTrue($this->testObj->areQuestionAssignmentColumnsEnabled());
70 $this->assertEquals($this->testId, $this->testObj->getTestId());
test_instantiateObject_shouldReturnInstance()
testQuestionContainerId()
Class ilTestSkillLevelThresholdsGUITest.
ilTestSkillLevelThresholdsGUI $testObj
testQuestionAssignmentColumnsEnabled()