ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
}
ILIAS\Test\Results\Toplist\TestTopListRepository
Definition:
TestTopListRepository.php:24
Results\Toplist\TestTopListRepositoryTest
Class TestTopListRepositoryTest.
Definition:
TestTopListRepositoryTest.php:30
Results\Toplist\TestTopListRepositoryTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
TestTopListRepositoryTest.php:42
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:31
Results\Toplist
Definition:
DataRetrievalTest.php:21
components
ILIAS
Test
tests
Scoring
Toplist
TestTopListRepositoryTest.php
Generated on Sat Oct 18 2025 23:04:32 for ILIAS by
1.9.4 (using
Doxyfile
)