ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
RegularTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
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 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...