3 declare(strict_types=1);
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);
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();
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
test_executeCommand_with_unknown_command()
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl