ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
ResultTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Tests\Services\Database\Integrity
;
22
23
use
PHPUnit\Framework\TestCase
;
24
use
ILIAS\Services\Database\Integrity\Result
;
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
}
ILIAS\Services\Database\Integrity\Result
Definition:
Result.php:23
ILIAS\Tests\Services\Database\Integrity\ResultTest\testViolations
testViolations()
Definition:
ResultTest.php:34
ILIAS\Tests\Services\Database\Integrity\ResultTest
Definition:
ResultTest.php:26
Result
ILIAS\Tests\Services\Database\Integrity
Definition:
AssociationTest.php:21
ILIAS\Tests\Services\Database\Integrity\ResultTest\testConstruct
testConstruct()
Definition:
ResultTest.php:28
TestCase
Services
Database
test
Integrity
ResultTest.php
Generated on Wed Sep 10 2025 14:11:27 for ILIAS by
1.8.13 (using
Doxyfile
)