ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
DatabaseDocumentRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\test\Repository
;
22
23
use
ILIAS\LegalDocuments\test\ContainerMock
;
24
use
ILIAS\LegalDocuments\UserAction
;
25
use
PHPUnit\Framework\TestCase
;
26
use
ILIAS\LegalDocuments\Repository\DatabaseDocumentRepository
;
27
use
ilDBInterface
;
28
29
require_once __DIR__ .
'/../ContainerMock.php'
;
30
31
class
DatabaseDocumentRepositoryTest
extends
TestCase
32
{
33
use
ContainerMock
;
34
35
public
function
testConstruct
(): void
36
{
37
$this->assertInstanceOf(DatabaseDocumentRepository::class,
new
DatabaseDocumentRepository
(
'foo'
, $this->mock(ilDBInterface::class), $this->mock(UserAction::class)));
38
}
39
}
DatabaseDocumentRepository
ContainerMock
UserAction
ILIAS\LegalDocuments\test\Repository\DatabaseDocumentRepositoryTest
Definition:
DatabaseDocumentRepositoryTest.php:31
ILIAS\LegalDocuments\Repository\DatabaseDocumentRepository
Definition:
DatabaseDocumentRepository.php:40
ILIAS\LegalDocuments\test\Repository\DatabaseDocumentRepositoryTest\testConstruct
testConstruct()
Definition:
DatabaseDocumentRepositoryTest.php:35
ilDBInterface
ContainerMock
TestCase
ILIAS\LegalDocuments\test\Repository
Definition:
DatabaseDocumentRepositoryTest.php:21
components
ILIAS
LegalDocuments
tests
Repository
DatabaseDocumentRepositoryTest.php
Generated on Mon Sep 1 2025 23:03:25 for ILIAS by
1.8.13 (using
Doxyfile
)