ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
HashIdTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\LegalDocuments\test\ContainerMock;
24use PHPUnit\Framework\TestCase;
26
27require_once __DIR__ . '/../ContainerMock.php';
28
29class 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}