Class ilTestRandomQuestionSetPoolDefinitionFormGUITest.
More...
◆ setUp()
ilTestRandomQuestionSetPoolDefinitionFormGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 29 of file ilTestRandomQuestionSetPoolDefinitionFormGUITest.php.
32 $ctrl_mock = $this->createMock(ilCtrl::class);
33 $lng_mock = $this->createMock(ilLanguage::class);
35 $this->setGlobalVariable(
"lng", $lng_mock);
36 $this->setGlobalVariable(
"ilCtrl", $ctrl_mock);
38 $testRandomQuestionSetConfigGUI_mock = $this->getMockBuilder(
39 ilTestRandomQuestionSetConfigGUI::class
40 )->disableOriginalConstructor()->getMock();
42 $testRandomQuestionSetConfig_mock = $this->getMockBuilder(
43 ilTestRandomQuestionSetConfig::class,
44 )->disableOriginalConstructor()->getMock();
49 $this->getTestObjMock(),
50 $testRandomQuestionSetConfigGUI_mock,
51 $testRandomQuestionSetConfig_mock
◆ test_instantiateObject_shouldReturnInstance()
ilTestRandomQuestionSetPoolDefinitionFormGUITest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testSaveAndNewCommand()
ilTestRandomQuestionSetPoolDefinitionFormGUITest::testSaveAndNewCommand |
( |
| ) |
|
|
protected |
◆ testSaveCommand()
ilTestRandomQuestionSetPoolDefinitionFormGUITest::testSaveCommand |
( |
| ) |
|
|
protected |
◆ $formGui
The documentation for this class was generated from the following file: