ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ 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\Tests\Data\LanguageTag\RegularTest\testValue
testValue()
Definition:
RegularTest.php:34
ILIAS\Data\LanguageTag\Regular
Definition:
Regular.php:23
Regular
ILIAS\Tests\Data\LanguageTag\RegularTest
Definition:
RegularTest.php:26
ILIAS\Tests\Data\LanguageTag\RegularTest\testConstruct
testConstruct()
Definition:
RegularTest.php:28
TestCase
ILIAS\Tests\Data\LanguageTag
Definition:
IrregularTest.php:21
components
ILIAS
Data
tests
LanguageTag
RegularTest.php
Generated on Tue Sep 2 2025 23:02:51 for ILIAS by
1.8.13 (using
Doxyfile
)