3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   35            $this->createMock(ilLanguage::class),
 
   36            $this->createMock(
ILIAS\
DI\UIServices::class),
 
   37            $this->createMock(ilCtrl::class)
 
   43        $this->assertInstanceOf(ilTestRandomQuestionSetConfigStateMessageHandler::class, $this->testObj);
 
   54        $this->testObj->setLostPools($expected);
 
   55        $this->assertEquals($expected, $this->testObj->getLostPools());
 
   60        $this->testObj->setParticipantDataExists(
false);
 
   61        $this->assertFalse($this->testObj->doesParticipantDataExists());
 
   63        $this->testObj->setParticipantDataExists(
true);
 
   64        $this->assertTrue($this->testObj->doesParticipantDataExists());
 
   69        $targetGui_mock = $this->createMock(ilTestRandomQuestionSetConfigGUI::class);
 
   70        $this->testObj->setTargetGUI($targetGui_mock);
 
   71        $this->assertEquals($targetGui_mock, $this->testObj->getTargetGUI());
 
   76        $this->testObj->setContext(
"test");
 
   77        $this->assertEquals(
"test", $this->testObj->getContext());
 
   82        $mock = $this->createMock(ilTestRandomQuestionSetConfig::class);
 
   83        $this->testObj->setQuestionSetConfig($mock);
 
   84        $this->assertEquals($mock, $this->testObj->getQuestionSetConfig());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilTestRandomQuestionSetConfigStateMessageHandler $testObj
 
test_instantiateObject_shouldReturnInstance()
 
testParticipantDataExists()
 
Class ChatMainBarProvider \MainMenu\Provider.