ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ 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
}
ContainerMock
ILIAS\LegalDocuments\test\Repository\ReadOnlyDocumentRepositoryTest
Definition:
ReadOnlyDocumentRepositoryTest.php:30
ILIAS\LegalDocuments\Repository\ReadOnlyDocumentRepository
Definition:
ReadOnlyDocumentRepository.php:30
ContainerMock
ReadOnlyDocumentRepository
DocumentRepository
ILIAS\LegalDocuments\test\Repository\ReadOnlyDocumentRepositoryTest\testConstruct
testConstruct()
Definition:
ReadOnlyDocumentRepositoryTest.php:34
TestCase
ILIAS\LegalDocuments\test\Repository
Definition:
DatabaseDocumentRepositoryTest.php:21
components
ILIAS
LegalDocuments
tests
Repository
ReadOnlyDocumentRepositoryTest.php
Generated on Mon Sep 1 2025 23:03:25 for ILIAS by
1.8.13 (using
Doxyfile
)