ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
PathsTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use PHPUnit\Framework\TestCase;
25use ILIAS\MetaData\Paths\BuilderInterface as InternalBuilderInterface;
26use ILIAS\MetaData\Paths\NullBuilder as NullInternalBuilder;
27
28class 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}