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