ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilUnitConfigurationGUITest.php
Go to the documentation of this file.
1<?php
2
29{
30 protected $backupGlobals = false;
31
33
34 protected function setUp(): void
35 {
36 parent::setUp();
37
38 $this->object = new class ($this->createMock(ilUnitConfigurationRepository::class)) extends ilUnitConfigurationGUI {
39 protected function getDefaultCommand(): string
40 {
41 return '';
42 }
43
44 public function getUnitCategoryOverviewCommand(): string
45 {
46 return '';
47 }
48
49 public function isCRUDContext(): bool
50 {
51 return true;
52 }
53
54 public function getUniqueId(): string
55 {
56 return '';
57 }
58
59 protected function showUnitCategories(array $categories): void
60 {
61 }
62 };
63 }
64
65 public function testConstruct(): void
66 {
67 $this->assertInstanceOf(ilUnitConfigurationGUI::class, $this->object);
68 }
69}
Class assBaseTestCase.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilUnitConfigurationGUI.