ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilBuddySystemRelationRepositoryTestCase.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilBuddySystemRelationRepositoryTestCase
extends
ilBuddySystemBaseTestCase
22
{
23
public
function
testSqlRepositoryDelegatesDeletionToDatabaseAbstraction
(): void
24
{
25
$db = $this->createMock(ilDBInterface::class);
26
$db->expects($this->exactly(2))
27
->method(
'manipulateF'
)
28
->with($this->stringContains(
'DELETE FROM'
));
29
30
$repo =
new
ilBuddySystemRelationRepository
(4711, $db);
31
$repo->destroy();
32
}
33
}
ilBuddySystemBaseTestCase
Definition:
ilBuddySystemBaseTestCase.php:24
ilBuddySystemRelationRepository
Class ilBuddySystemRelationRepository.
Definition:
class.ilBuddySystemRelationRepository.php:25
ilBuddySystemRelationRepositoryTestCase
Definition:
ilBuddySystemRelationRepositoryTestCase.php:21
ilBuddySystemRelationRepositoryTestCase\testSqlRepositoryDelegatesDeletionToDatabaseAbstraction
testSqlRepositoryDelegatesDeletionToDatabaseAbstraction()
Definition:
ilBuddySystemRelationRepositoryTestCase.php:23
components
ILIAS
Contact
tests
ilBuddySystemRelationRepositoryTestCase.php
Generated on Sun Aug 31 2025 23:02:34 for ILIAS by
1.8.13 (using
Doxyfile
)