3declare(strict_types=1);
 
   21use PHPUnit\Framework\MockObject\MockObject;
 
   41    protected function setUp(): void
 
   44        $this->ctrl_mock = $this->createMock(ilCtrl::class);
 
   45        $this->lng_mock = $this->createMock(ilLanguage::class);
 
   50        $objTest_mock = $this->createMock(ilObjTest::class);
 
   51        $testRandomQuestionSetConfigGUI_mock = $this->getMockBuilder(
 
   52            ilTestRandomQuestionSetConfigGUI::class
 
   53        )->disableOriginalConstructor()->getMock();
 
   55        $testRandomQuestionSetConfig_mock = $this->getMockBuilder(
 
   56            ilTestRandomQuestionSetConfig::class,
 
   57        )->disableOriginalConstructor()->getMock();
 
   63            $testRandomQuestionSetConfigGUI_mock,
 
   64            $testRandomQuestionSetConfig_mock
 
   70        $this->assertInstanceOf(ilTestRandomQuestionSetPoolDefinitionFormGUI::class, $this->formGui);
 
   75        $expected = 
"testCommand";
 
   77        $this->formGui->setSaveCommand($expected);
 
   79        $this->assertEquals($expected, $this->formGui->getSaveCommand());
 
   84        $expected = 
"testCommand";
 
   86        $this->formGui->setSaveAndNewCommand($expected);
 
   88        $this->assertEquals($expected, $this->formGui->getSaveAndNewCommand());
 
setGlobalVariable(string $name, $value)