ILIAS  release_8 Revision v8.24
ilTestResultsToolbarGUITest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
26{
28
29 protected function setUp(): void
30 {
31 parent::setUp();
32
33 $ctrl_mock = $this->createMock(ilCtrl::class);
34 $lng_mock = $this->createMock(ilLanguage::class);
35 $mainTpl_mock = $this->createMock(ilGlobalPageTemplate::class);
36
37 $this->setGlobalVariable("lng", $lng_mock);
38
39 $this->toolbarGUI = new ilTestResultsToolbarGUI(
40 $ctrl_mock,
41 $mainTpl_mock,
42 $lng_mock,
43 );
44 }
45
47 {
48 $this->assertInstanceOf(ilTestResultsToolbarGUI::class, $this->toolbarGUI);
49 }
50}
Class ilTestBaseClass.
setGlobalVariable(string $name, $value)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...