ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
NavigationTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
require_once(__DIR__ .
"/../../../../../../vendor/composer/vendor/autoload.php"
);
22
require_once(__DIR__ .
"/../../Base.php"
);
23
24
use
ILIAS\UI\Component
as
C
;
25
use
ILIAS\UI\Implementation\Component\Navigation
;
26
27
class
NavigationTest
extends
ILIAS_UI_TestBase
28
{
29
public
function
testImplementsFactoryInterface
()
30
{
31
$f
=
new
Navigation\Factory
(
32
$this->
getDataFactory
(),
33
$this->getRefinery(),
34
$this->createMock(
ILIAS
\
UI
\Storage::class)
35
);
36
37
$this->assertInstanceOf(
"ILIAS\\UI\\Component\\Navigation\\Factory"
,
$f
);
38
39
$sequence =
$f
->sequence(
40
$this->createMock(
C
\Navigation\Sequence\SegmentRetrieval::class)
41
);
42
$this->assertInstanceOf(
"ILIAS\\UI\\Component\\Navigation\\Sequence\\Sequence"
, $sequence);
43
}
44
45
}
ILIAS\UI\Implementation\Component\Navigation\Factory
Definition:
Factory.php:29
ILIAS\UI
Definition:
UI.php:24
ILIAS_UI_TestBase
Provides common functionality for UI tests.
Definition:
Base.php:337
NavigationTest
Definition:
NavigationTest.php:28
NavigationTest\testImplementsFactoryInterface
testImplementsFactoryInterface()
Definition:
NavigationTest.php:29
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Input\getDataFactory
getDataFactory()
ILIAS\UI\Implementation\Component\Navigation
Definition:
Factory.php:21
ILIAS
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
components
ILIAS
UI
tests
Component
Navigation
NavigationTest.php
Generated on Sat Oct 18 2025 23:04:54 for ILIAS by
1.9.4 (using
Doxyfile
)