17 if (defined(
'ILIAS_PHPUNIT_CONTEXT')) {
18 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
19 ilUnitUtil::performInitialisation();
21 chdir(dirname(__FILE__));
26 require_once
'./Services/UICore/classes/class.ilCtrl.php';
27 $ilCtrl_mock = $this->createMock(
'ilCtrl');
28 $ilCtrl_mock->expects($this->any())->method(
'saveParameter');
29 $ilCtrl_mock->expects($this->any())->method(
'saveParameterByClass');
32 require_once
'./Services/Language/classes/class.ilLanguage.php';
33 $lng_mock = $this->createMock(
'ilLanguage', array(
'txt'), array(),
'',
false);
46 require_once
'./Modules/TestQuestionPool/classes/class.assOrderingQuestionGUI.php';
51 $this->assertInstanceOf(
'assOrderingQuestionGUI', $instance);
test_instantiateObject_shouldReturnInstance()
setGlobalVariable($name, $value)
Ordering question GUI representation.