ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
DatabaseHistoryRepositoryTest.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
ILIAS\LegalDocuments\Repository\DocumentRepositoryMeta
;
26
use
PHPUnit\Framework\TestCase
;
27
use
ILIAS\LegalDocuments\Repository\DatabaseHistoryRepository
;
28
use
ilDBInterface
;
29
30
require_once __DIR__ .
'/../ContainerMock.php'
;
31
32
class
DatabaseHistoryRepositoryTest
extends
TestCase
33
{
34
use
ContainerMock
;
35
36
public
function
testConstruct
(): void
37
{
38
$this->assertInstanceOf(DatabaseHistoryRepository::class,
new
DatabaseHistoryRepository
(
'foo'
, $this->mock(DocumentRepositoryMeta::class), $this->mock(ilDBInterface::class), $this->mock(UserAction::class)));
39
}
40
}
ContainerMock
UserAction
DocumentRepositoryMeta
DatabaseHistoryRepository
ILIAS\LegalDocuments\Repository\DatabaseHistoryRepository
Definition:
DatabaseHistoryRepository.php:39
ilDBInterface
ContainerMock
ILIAS\LegalDocuments\test\Repository\DatabaseHistoryRepositoryTest\testConstruct
testConstruct()
Definition:
DatabaseHistoryRepositoryTest.php:36
ILIAS\LegalDocuments\test\Repository\DatabaseHistoryRepositoryTest
Definition:
DatabaseHistoryRepositoryTest.php:32
TestCase
ILIAS\LegalDocuments\test\Repository
Definition:
DatabaseDocumentRepositoryTest.php:21
components
ILIAS
LegalDocuments
tests
Repository
DatabaseHistoryRepositoryTest.php
Generated on Mon Sep 1 2025 23:03:25 for ILIAS by
1.8.13 (using
Doxyfile
)