ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ ilDoc Overview
HashIdTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\test\DocumentId
;
22
23
use
ILIAS\LegalDocuments\test\ContainerMock
;
24
use
PHPUnit\Framework\TestCase
;
25
use
ILIAS\LegalDocuments\DocumentId\HashId
;
26
27
require_once __DIR__ .
'/../ContainerMock.php'
;
28
29
class
HashIdTest
extends
TestCase
30
{
31
use
ContainerMock
;
32
33
public
function
testConstruct
(): void
34
{
35
$this->assertInstanceOf(HashId::class,
new
HashId
(
'foo'
));
36
}
37
38
public
function
testGetter
(): void
39
{
40
$this->assertGetter(HashId::class, [
'hash'
=>
'foo'
]);
41
}
42
}
ContainerMock
ILIAS\LegalDocuments\test\DocumentId\HashIdTest
Definition:
HashIdTest.php:29
ILIAS\LegalDocuments\DocumentId\HashId
Definition:
HashId.php:25
ContainerMock
ILIAS\LegalDocuments\test\DocumentId\HashIdTest\testGetter
testGetter()
Definition:
HashIdTest.php:38
ILIAS\LegalDocuments\test\DocumentId
Definition:
HashIdTest.php:21
ILIAS\LegalDocuments\test\DocumentId\HashIdTest\testConstruct
testConstruct()
Definition:
HashIdTest.php:33
HashId
TestCase
components
ILIAS
LegalDocuments
tests
DocumentId
HashIdTest.php
Generated on Tue Sep 2 2025 23:03:22 for ILIAS by
1.8.13 (using
Doxyfile
)