3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   34            $this->createMock(ilCtrl::class),
 
   35            $this->createMock(ilLanguage::class)
 
   41        $this->assertInstanceOf(ilTestQuestionSideListGUI::class, $this->testObj);
 
   46        $targetGui_mock = $this->createMock(ilTestPlayerAbstractGUI::class);
 
   47        $this->testObj->setTargetGUI($targetGui_mock);
 
   48        $this->assertEquals($targetGui_mock, $this->testObj->getTargetGUI());
 
   56        $this->testObj->setQuestionSummaryData($expected);
 
   57        $this->assertEquals($expected, $this->testObj->getQuestionSummaryData());
 
   62        $this->testObj->setCurrentSequenceElement(125);
 
   63        $this->assertEquals(125, $this->testObj->getCurrentSequenceElement());
 
   68        $this->testObj->setCurrentPresentationMode(
"test");
 
   69        $this->assertEquals(
"test", $this->testObj->getCurrentPresentationMode());
 
   74        $this->testObj->setDisabled(
false);
 
   75        $this->assertFalse($this->testObj->isDisabled());
 
   77        $this->testObj->setDisabled(
true);
 
   78        $this->assertTrue($this->testObj->isDisabled());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
testCurrentSequenceElement()
 
ilTestQuestionSideListGUI $testObj
 
testQuestionSummaryData()
 
test_instantiateObject_shouldReturnInstance()
 
testCurrentPresentationMode()