ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
PrivateUseTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use PHPUnit\Framework\TestCase;
25
26class PrivateUseTest extends TestCase
27{
28 public function testConstruct(): void
29 {
30 $privateuse = new PrivateUse('foo');
31 $this->assertInstanceOf(PrivateUse::class, $privateuse);
32 }
33
34 public function testValue(): void
35 {
36 $privateuse = new PrivateUse('foo');
37 $this->assertEquals('foo', $privateuse->value());
38 }
39}