30 protected function setUp(): void
34 $ilCtrl_mock = $this->getMockBuilder(ilCtrl::class)->disableOriginalConstructor()->getMock();
35 $ilCtrl_mock->expects($this->any())->method(
'saveParameter');
36 $ilCtrl_mock->expects($this->any())->method(
'saveParameterByClass');
40 $ilias_mock->account =
new stdClass();
41 $ilias_mock->account->id = 6;
42 $ilias_mock->account->fullname =
'Esther Tester';
50 require_once
'./Modules/TestQuestionPool/classes/class.assNumericGUI.php';
55 $this->assertInstanceOf(
'assNumericGUI', $instance);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
test_instantiateObject_shouldReturnInstance()
setGlobalVariable(string $name, $value)