30    protected function setUp(): void
 
   34        require_once 
'./Services/UICore/classes/class.ilCtrl.php';
 
   35        $ilCtrl_mock = $this->createMock(
'ilCtrl');
 
   36        $ilCtrl_mock->expects($this->any())->method(
'saveParameter');
 
   37        $ilCtrl_mock->expects($this->any())->method(
'saveParameterByClass');
 
   40        require_once 
'./Services/Language/classes/class.ilLanguage.php';
 
   41        $lng_mock = $this->createMock(
'ilLanguage', array(
'txt'), array(), 
'', 
false);
 
   42        $lng_mock->expects($this->any())->method(
'txt')->will($this->returnValue(
'Test'));
 
   53        require_once 
'./Modules/TestQuestionPool/classes/class.assOrderingHorizontalGUI.php';
 
   58        $this->assertInstanceOf(
'assOrderingHorizontalGUI', $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...