ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
TestTopListRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
Results\Toplist
;
22
23
use
ILIAS\Test\Results\Toplist\TestTopListRepository
;
24
29
class
TestTopListRepositoryTest
extends
\ilTestBaseTestCase
30
{
31
private
TestTopListRepository
$testObj
;
32
33
protected
function
setUp
(): void
34
{
35
parent::setUp();
36
37
$this->testObj =
new
TestTopListRepository
(
38
$this->createMock(\ilDBInterface::class)
39
);
40
}
41
42
public
function
test_instantiateObject_shouldReturnInstance
(): void
43
{
44
$this->assertInstanceOf(TestTopListRepository::class, $this->testObj);
45
}
46
}
Results\Toplist\TestTopListRepositoryTest
Class TestTopListRepositoryTest.
Definition:
TestTopListRepositoryTest.php:29
ILIAS\Test\Results\Toplist\TestTopListRepository
Definition:
TestTopListRepository.php:23
Results\Toplist
Definition:
DataRetrievalTest.php:21
Results\Toplist\TestTopListRepositoryTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
TestTopListRepositoryTest.php:42
TestTopListRepository
Results\Toplist\TestTopListRepositoryTest\setUp
setUp()
Definition:
TestTopListRepositoryTest.php:33
Results\Toplist\TestTopListRepositoryTest\$testObj
TestTopListRepository $testObj
Definition:
TestTopListRepositoryTest.php:31
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:30
components
ILIAS
Test
tests
Scoring
Toplist
TestTopListRepositoryTest.php
Generated on Wed Sep 3 2025 23:04:06 for ILIAS by
1.8.13 (using
Doxyfile
)