ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DatabaseDocumentRepositoryTest.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;
28
29require_once __DIR__ . '/../ContainerMock.php';
30
31class 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}
Interface ilDBInterface.