30 protected function setUp(): void
36 $ilCtrl_mock = $this->createMock(
'ilCtrl');
37 $ilCtrl_mock->expects($this->any())->method(
'saveParameter');
38 $ilCtrl_mock->expects($this->any())->method(
'saveParameterByClass');
41 $lng_mock = $this->createMock(
'ilLanguage', [
'txt'], [],
'',
false);
42 $lng_mock->expects($this->any())->method(
'txt')->willReturn(
'Test');
53 $this->assertInstanceOf(assOrderingHorizontalGUI::class, $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...
setGlobalVariable(string $name, mixed $value)
test_instantiateObject_shouldReturnInstance()