ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
IgnoreTest.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\components\Database\Integrity\Ignore
;
25
26
class
IgnoreTest
extends
TestCase
27
{
28
public
function
testConstruct
(): void
29
{
30
$ignore =
new
Ignore
();
31
$this->assertInstanceOf(Ignore::class, $ignore);
32
}
33
34
public
function
testValues
(): void
35
{
36
$ignore =
new
Ignore
(
'a'
,
'b'
,
'c'
);
37
$this->assertSame([
'!= a'
,
'!= b'
,
'!= c'
], $ignore->values());
38
}
39
40
public
function
testValuesWithNull
(): void
41
{
42
$ignore =
new
Ignore
(
'a'
,
null
,
'c'
);
43
$this->assertSame([
'!= a'
,
'IS NOT NULL'
,
'!= c'
], $ignore->values());
44
}
45
}
ILIAS\Tests\Services\Database\Integrity\IgnoreTest
Definition:
IgnoreTest.php:27
ILIAS\Tests\Services\Database\Integrity\IgnoreTest\testValues
testValues()
Definition:
IgnoreTest.php:34
ILIAS\Tests\Services\Database\Integrity\IgnoreTest\testValuesWithNull
testValuesWithNull()
Definition:
IgnoreTest.php:40
ILIAS\Tests\Services\Database\Integrity\IgnoreTest\testConstruct
testConstruct()
Definition:
IgnoreTest.php:28
ILIAS\components\Database\Integrity\Ignore
Definition:
Ignore.php:24
ILIAS\Tests\Services\Database\Integrity
Definition:
AssociationTest.php:21
components
ILIAS
Database
tests
Integrity
IgnoreTest.php
Generated on Sat Oct 18 2025 23:02:56 for ILIAS by
1.9.4 (using
Doxyfile
)