ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ResultTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
26 class ResultTest extends TestCase
27 {
28  public function testConstruct(): void
29  {
30  $result = new Result(0);
31  $this->assertInstanceOf(Result::class, $result);
32  }
33 
34  public function testViolations(): void
35  {
36  $result = new Result(9);
37  $this->assertEquals(9, $result->violations());
38  }
39 }