ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ilAssQuestionFeedbackEditingGUITest.php
Go to the documentation of this file.
1 <?php
2 
29 {
30  protected $backupGlobals = false;
31 
33 
34  protected function setUp(): void
35  {
36  parent::setUp();
37 
38  $assQuestion = $this->createMock(assQuestion::class);
39  $assQuestion->feedbackOBJ = $this->createMock(ilAssQuestionFeedback::class);
40  $assQuestionGUI = $this->createStub(assQuestionGUI::class);
41  $assQuestionGUI->method('getObject')->willReturn($assQuestion);
42  $ctrl = $this->createMock(ilCtrl::class);
43  $access = $this->createMock(ilAccessHandler::class);
44  $tpl = $this->createMock(ilGlobalTemplateInterface::class);
45  $tabs = $this->createMock(ilTabsGUI::class);
46  $lng = $this->createMock(ilLanguage::class);
47  $help = $this->createMock(ilHelpGUI::class);
48  $questionrepository = $this->createMock(ILIAS\TestQuestionPool\RequestDataCollector::class);
49  $content_style = $this->createMock(ILIAS\Style\Content\Service::class);
50 
51 
52  $this->object = new ilAssQuestionFeedbackEditingGUI(
53  $assQuestionGUI,
54  $ctrl,
55  $access,
56  $tpl,
57  $tabs,
58  $lng,
59  $help,
60  $questionrepository,
61  $content_style
62  );
63  }
64 
65  public function testConstruct(): void
66  {
67  $this->assertInstanceOf(ilAssQuestionFeedbackEditingGUI::class, $this->object);
68  }
69 }
Interface Observer Contains several chained tasks and infos about them.
Class assBaseTestCase.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $lng
Definition: privfeed.php:31