ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
IrregularTest.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
36
namespace
ILIAS\Tests\Data\LanguageTag
;
37
38
use
PHPUnit\Framework\TestCase
;
39
use
ILIAS\Data\LanguageTag\Irregular
;
40
41
class
IrregularTest
extends
TestCase
42
{
43
public
function
testConstruct
(): void
44
{
45
$irregular =
new
Irregular
(
'foo'
);
46
$this->assertInstanceOf(Irregular::class, $irregular);
47
}
48
49
public
function
testValue
(): void
50
{
51
$irregular =
new
Irregular
(
'foo'
);
52
$this->assertEquals(
'foo'
, $irregular->value());
53
}
54
}
ILIAS\Tests\Data\LanguageTag\IrregularTest
Definition:
IrregularTest.php:41
ILIAS\Tests\Data\LanguageTag\IrregularTest\testValue
testValue()
Definition:
IrregularTest.php:49
Irregular
ILIAS\Data\LanguageTag\Irregular
Definition:
Irregular.php:23
TestCase
ILIAS\Tests\Data\LanguageTag\IrregularTest\testConstruct
testConstruct()
Definition:
IrregularTest.php:43
ILIAS\Tests\Data\LanguageTag
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
IrregularTest.php:36
tests
Data
LanguageTag
IrregularTest.php
Generated on Wed Sep 10 2025 14:12:12 for ILIAS by
1.8.13 (using
Doxyfile
)