30 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')->willReturn(
'Test');
58 $this->assertInstanceOf(assOrderingQuestionGUI::class, $instance);
test_instantiateObject_shouldReturnInstance()
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...
setGlobalVariable(string $name, mixed $value)