ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilCtrlExistingPathTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 require_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 }
$path
Definition: ltiservices.php:29
Class ilCtrlPathTestBase.
Class ilCtrlExistingPathTest.
Class ilCtrlExistingPath.