32    protected function setUp(): void
 
   36        $ilCtrl_mock = $this->getMockBuilder(ilCtrl::class)
 
   37                            ->disableOriginalConstructor()
 
   39        $ilCtrl_mock->method(
'saveParameter');
 
   40        $ilCtrl_mock->method(
'saveParameterByClass');
 
   43        $lng_mock = $this->getMockBuilder(ilLanguage::class)
 
   44                         ->disableOriginalConstructor()
 
   45                         ->onlyMethods([
'txt'])
 
   47        $lng_mock->method(
'txt')->will($this->returnValue(
'Test'));
 
   58        require_once 
'./Modules/TestQuestionPool/classes/class.assSingleChoiceGUI.php';
 
   63        $this->assertInstanceOf(
'assSingleChoiceGUI', $instance);
 
setGlobalVariable(string $name, $value)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
test_instantiateObject_shouldReturnInstance()
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...