ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
PathsTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Services\Paths
;
22
23
use
PHPUnit\Framework\TestCase
;
24
use
ILIAS\MetaData\Paths\NullFactory
;
25
use
ILIAS\MetaData\Paths\BuilderInterface
as
InternalBuilderInterface
;
26
use
ILIAS\MetaData\Paths\NullBuilder
as
NullInternalBuilder
;
27
28
class
PathsTest
extends
TestCase
29
{
30
protected
function
getPaths
():
Paths
31
{
32
return
new
Paths
(
new
NullFactory
());
33
}
34
35
public
function
testCustom
(): void
36
{
37
$paths = $this->
getPaths
();
38
39
$this->assertInstanceOf(
40
BuilderInterface::class,
41
$paths->custom()
42
);
43
}
44
}
ILIAS\MetaData\Services\Paths
Definition:
Builder.php:21
NullFactory
ILIAS\MetaData\Services\Paths\PathsTest\testCustom
testCustom()
Definition:
PathsTest.php:35
ILIAS\MetaData\Services\Paths\PathsTest
Definition:
PathsTest.php:28
ILIAS\MetaData\Services\Paths\Paths
Definition:
Paths.php:27
NullBuilder
BuilderInterface
ILIAS\MetaData\Paths\NullFactory
Definition:
NullFactory.php:25
TestCase
ILIAS\MetaData\Services\Paths\PathsTest\getPaths
getPaths()
Definition:
PathsTest.php:30
components
ILIAS
MetaData
tests
Services
Paths
PathsTest.php
Generated on Mon Sep 1 2025 23:03:35 for ILIAS by
1.8.13 (using
Doxyfile
)