ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
RegularTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
26 class RegularTest extends TestCase
27 {
28  public function testConstruct(): void
29  {
30  $regular = new Regular('foo');
31  $this->assertInstanceOf(Regular::class, $regular);
32  }
33 
34  public function testValue(): void
35  {
36  $regular = new Regular('foo');
37  $this->assertEquals('foo', $regular->value());
38  }
39 }