ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestQuestionNavigationGUITest.php
Go to the documentation of this file.
1<?php
2
19declare(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}
trait UITestHelper
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working facto...
renderer()
factory()
Class ilTestBaseClass.
Class ilTestQuestionNavigationGUITest.