ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
IrregularTest.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\Irregular
;
25
26
class
IrregularTest
extends
TestCase
27
{
28
public
function
testConstruct
(): void
29
{
30
$irregular =
new
Irregular
(
'foo'
);
31
$this->assertInstanceOf(Irregular::class, $irregular);
32
}
33
34
public
function
testValue
(): void
35
{
36
$irregular =
new
Irregular
(
'foo'
);
37
$this->assertEquals(
'foo'
, $irregular->value());
38
}
39
}
ILIAS\Data\LanguageTag\Irregular
Definition:
Irregular.php:24
ILIAS\Tests\Data\LanguageTag\IrregularTest
Definition:
IrregularTest.php:27
ILIAS\Tests\Data\LanguageTag\IrregularTest\testConstruct
testConstruct()
Definition:
IrregularTest.php:28
ILIAS\Tests\Data\LanguageTag\IrregularTest\testValue
testValue()
Definition:
IrregularTest.php:34
ILIAS\Tests\Data\LanguageTag
Definition:
IrregularTest.php:21
components
ILIAS
Data
tests
LanguageTag
IrregularTest.php
Generated on Sun Oct 19 2025 23:02:47 for ILIAS by
1.9.4 (using
Doxyfile
)