ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestSkillEvaluationToolbarGUITest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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 $this->setGlobalVariable("lng", $lng_mock);
36
37 $this->toolbarGUI = new ilTestSkillEvaluationToolbarGUI(
38 $ctrl_mock,
39 $lng_mock
40 );
41 }
42
44 {
45 $this->assertInstanceOf(ilTestSkillEvaluationToolbarGUI::class, $this->toolbarGUI);
46 }
47}
Class ilTestBaseClass.
Class ilTestSkillEvaluationToolbarGUITest.
setGlobalVariable(string $name, mixed $value)