ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DatabaseHistoryRepositoryTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\LegalDocuments\test\ContainerMock;
26use PHPUnit\Framework\TestCase;
29
30require_once __DIR__ . '/../ContainerMock.php';
31
32class 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}
Interface ilDBInterface.