3 declare(strict_types=1);
29 protected function setUp(): void
34 $this->createMock(ilCtrl::class),
35 $this->createMock(ilGlobalPageTemplate::class),
36 $this->createMock(ilLanguage::class),
37 $this->createMock(ilDBInterface::class),
44 $this->assertInstanceOf(ilTestSkillLevelThresholdsGUI::class, $this->testObj);
49 $this->testObj->setQuestionContainerId(12);
50 $this->assertEquals(12, $this->testObj->getQuestionContainerId());
55 $this->testObj->setQuestionAssignmentColumnsEnabled(
false);
56 $this->assertFalse($this->testObj->areQuestionAssignmentColumnsEnabled());
58 $this->testObj->setQuestionAssignmentColumnsEnabled(
true);
59 $this->assertTrue($this->testObj->areQuestionAssignmentColumnsEnabled());
64 $this->assertEquals(112, $this->testObj->getTestId());
test_instantiateObject_shouldReturnInstance()
testQuestionContainerId()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilTestSkillLevelThresholdsGUI $testObj
testQuestionAssignmentColumnsEnabled()