ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestQuestionNavigationGUITest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
27  use UITestHelper;
28 
30 
31  protected function setUp(): void
32  {
33  parent::setUp();
34 
35  $ui_factory = $this->factory();
36  $ui_renderer = $this->renderer();
37 
38  $this->testObj = new ilTestQuestionNavigationGUI(
39  $this->createMock(ilLanguage::class),
40  $ui_factory,
41  $ui_renderer
42  );
43  }
44 
46  {
47  $this->assertInstanceOf(ilTestQuestionNavigationGUI::class, $this->testObj);
48  }
49 }
factory()
renderer()
Class ilTestQuestionNavigationGUITest.
trait UITestHelper
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working facto...