ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ilTestQuestionNavigationGUITest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
28 
29  protected function setUp(): void
30  {
31  parent::setUp();
32 
33  $test_helper = new UITestHelper();
34  $ui_factory = $test_helper->factory();
35  $ui_renderer = $test_helper->renderer();
36 
37  $this->testObj = new ilTestQuestionNavigationGUI(
38  $this->createMock(ilLanguage::class),
39  $ui_factory,
40  $ui_renderer
41  );
42  }
43 
45  {
46  $this->assertInstanceOf(ilTestQuestionNavigationGUI::class, $this->testObj);
47  }
48 }
Class ilTestQuestionNavigationGUITest.
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working facto...