ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ilSimpleTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Export\Test\ImportHandler\Path\Node
;
22
23
use
ILIAS\Export\ImportHandler\Path\Node\Simple
as ilSimpleFilePathNode;
24
use PHPUnit\Framework\TestCase;
25
26
class
ilSimpleTest
extends
TestCase
27
{
28
public
function
testSimpleNode
(): void
29
{
30
$node =
new
ilSimpleFilePathNode();
31
$node2 = $node->withName(
'Name1'
);
32
33
$this->assertEquals(
''
, $node->toString());
34
$this->assertEquals(
'Name1'
, $node2->toString());
35
$this->assertTrue($node->requiresPathSeparator());
36
$this->assertTrue($node2->requiresPathSeparator());
37
}
38
}
ILIAS\Export\ImportHandler\Path\Node\Simple
Definition:
Simple.php:26
ILIAS\Export\Test\ImportHandler\Path\Node\ilSimpleTest
Definition:
ilSimpleTest.php:27
ILIAS\Export\Test\ImportHandler\Path\Node\ilSimpleTest\testSimpleNode
testSimpleNode()
Definition:
ilSimpleTest.php:28
ILIAS\Export\Test\ImportHandler\Path\Node
Definition:
ilAnyElementTest.php:21
components
ILIAS
Export
tests
ImportHandler
Path
Node
ilSimpleTest.php
Generated on Sun Oct 19 2025 23:02:53 for ILIAS by
1.9.4 (using
Doxyfile
)