◆ test_createObject()
ilIndividualAssessmentCommonSettingsGUITest::test_createObject |
( |
| ) |
|
Definition at line 25 of file ilIndividualAssessmentCommonSettingsGUITest.php.
References $lng.
27 $iass = $this->createMock(ilObjIndividualAssessment::class);
28 $ctrl = $this->createMock(ilCtrl::class);
29 $tpl = $this->createMock(ilGlobalTemplateInterface::class);
30 $lng = $this->createMock(ilLanguage::class);
31 $obj_service = $this->createMock(ilObjectService::class);
41 $this->assertInstanceOf(ilIndividualAssessmentCommonSettingsGUI::class, $obj);
◆ test_executeCommand_with_unknown_command()
ilIndividualAssessmentCommonSettingsGUITest::test_executeCommand_with_unknown_command |
( |
| ) |
|
Definition at line 44 of file ilIndividualAssessmentCommonSettingsGUITest.php.
References $lng.
46 $iass = $this->createMock(ilObjIndividualAssessment::class);
47 $ctrl = $this->createMock(ilCtrl::class);
48 $tpl = $this->createMock(ilGlobalTemplateInterface::class);
49 $lng = $this->createMock(ilLanguage::class);
50 $obj_service = $this->createMock(ilObjectService::class);
53 ->expects($this->once())
55 ->willReturn(
"unknown_command")
66 $this->expectException(Exception::class);
67 $this->expectExceptionMessage(
"Unknown command unknown_command");
69 $obj->executeCommand();
The documentation for this class was generated from the following file: