ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ 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
}
PHPUnit::Framework::Attributes\Test::ImportHandler::Path::Node\ilSimpleTest\testSimpleNode
testSimpleNode()
Definition:
ilSimpleTest.php:28
ILIAS\Export\Test\ImportHandler\Path\Node
Definition:
ilAnyElementTest.php:21
PHPUnit::Framework::Attributes\Test::ImportHandler::Path::Node\ilSimpleTest
Definition:
ilSimpleTest.php:26
ILIAS\Export\ImportHandler\Path\Node\Simple
Definition:
Simple.php:25
TestCase
components
ILIAS
Export
tests
ImportHandler
Path
Node
ilSimpleTest.php
Generated on Wed Sep 3 2025 23:03:01 for ILIAS by
1.8.13 (using
Doxyfile
)