ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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\Paths\NullBuilder
Definition:
NullBuilder.php:29
ILIAS\MetaData\Paths\NullFactory
Definition:
NullFactory.php:26
ILIAS\MetaData\Services\Paths\PathsTest
Definition:
PathsTest.php:29
ILIAS\MetaData\Services\Paths\PathsTest\testCustom
testCustom()
Definition:
PathsTest.php:35
ILIAS\MetaData\Services\Paths\PathsTest\getPaths
getPaths()
Definition:
PathsTest.php:30
ILIAS\MetaData\Services\Paths\Paths
Definition:
Paths.php:28
ILIAS\MetaData\Paths\BuilderInterface
Definition:
BuilderInterface.php:29
ILIAS\MetaData\Services\Paths
Definition:
Builder.php:21
components
ILIAS
MetaData
tests
Services
Paths
PathsTest.php
Generated on Sun Oct 19 2025 23:03:21 for ILIAS by
1.9.4 (using
Doxyfile
)