ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ReadOnlyDocumentRepositoryTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\LegalDocuments\test\ContainerMock;
25use PHPUnit\Framework\TestCase;
27
28require_once __DIR__ . '/../ContainerMock.php';
29
30class 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}