ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
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.