ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ReadOnlyDocumentRepositoryTest.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\Repository\DocumentRepository
;
25
use PHPUnit\Framework\TestCase;
26
use
ILIAS\LegalDocuments\Repository\ReadOnlyDocumentRepository
;
27
28
require_once __DIR__ .
'/../ContainerMock.php'
;
29
30
class
ReadOnlyDocumentRepositoryTest
extends
TestCase
31
{
32
use ContainerMock;
33
34
public
function
testConstruct
(): void
35
{
36
$this->assertInstanceOf(ReadOnlyDocumentRepository::class,
new
ReadOnlyDocumentRepository
($this->mock(DocumentRepository::class)));
37
}
38
}
ILIAS\LegalDocuments\Repository\ReadOnlyDocumentRepository
Definition:
ReadOnlyDocumentRepository.php:31
ILIAS\LegalDocuments\test\Repository\ReadOnlyDocumentRepositoryTest
Definition:
ReadOnlyDocumentRepositoryTest.php:31
ILIAS\LegalDocuments\test\Repository\ReadOnlyDocumentRepositoryTest\testConstruct
testConstruct()
Definition:
ReadOnlyDocumentRepositoryTest.php:34
ILIAS\LegalDocuments\Repository\DocumentRepository
Definition:
DocumentRepository.php:30
ILIAS\LegalDocuments\test\Repository
Definition:
DatabaseDocumentRepositoryTest.php:21
components
ILIAS
LegalDocuments
tests
Repository
ReadOnlyDocumentRepositoryTest.php
Generated on Sat Oct 18 2025 23:03:21 for ILIAS by
1.9.4 (using
Doxyfile
)