ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilCtrlExistingPathTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21require_once __DIR__ . '/ilCtrlPathTestBase.php';
22
29{
30 public function testExistingPathWithString(): void
31 {
32 $path = new ilCtrlExistingPath($this->structure, 'foo');
33 $this->assertEquals('foo', $path->getCidPath());
34 }
35
36 public function testExistingPathWithEmptyString(): void
37 {
38 $path = new ilCtrlExistingPath($this->structure, '');
39 $this->assertNull($path->getCidPath());
40 }
41}
Class ilCtrlExistingPathTest.
Class ilCtrlExistingPath.
Class ilCtrlPathTestBase.
$path
Definition: ltiservices.php:30