ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
RegularTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Tests\Data\LanguageTag
;
22
23
use PHPUnit\Framework\TestCase;
24
use
ILIAS\Data\LanguageTag\Regular
;
25
26
class
RegularTest
extends
TestCase
27
{
28
public
function
testConstruct
(): void
29
{
30
$regular =
new
Regular
(
'foo'
);
31
$this->assertInstanceOf(Regular::class, $regular);
32
}
33
34
public
function
testValue
(): void
35
{
36
$regular =
new
Regular
(
'foo'
);
37
$this->assertEquals(
'foo'
, $regular->value());
38
}
39
}
ILIAS\Data\LanguageTag\Regular
Definition:
Regular.php:24
ILIAS\Tests\Data\LanguageTag\RegularTest
Definition:
RegularTest.php:27
ILIAS\Tests\Data\LanguageTag\RegularTest\testConstruct
testConstruct()
Definition:
RegularTest.php:28
ILIAS\Tests\Data\LanguageTag\RegularTest\testValue
testValue()
Definition:
RegularTest.php:34
ILIAS\Tests\Data\LanguageTag
Definition:
IrregularTest.php:21
components
ILIAS
Data
tests
LanguageTag
RegularTest.php
Generated on Sun Oct 19 2025 23:02:47 for ILIAS by
1.9.4 (using
Doxyfile
)