ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
◀ ilDoc Overview
TestScoringTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Test\Scoring\Manual\TestScoring
;
22
use
ILIAS\Test\Results\Data\Repository
as TestResultRepository;
23
28
class
TestScoringTest
extends
ilTestBaseTestCase
29
{
30
private
TestScoring
$testObj
;
31
32
protected
function
setUp
(): void
33
{
34
parent::setUp
();
35
36
$this->testObj =
new
TestScoring
(
37
$this->
getTestObjMock
(),
38
$this->createMock(ilObjUser::class),
39
$this->createMock(ilDBInterface::class),
40
$this->createMock(TestResultRepository::class)
41
);
42
}
43
44
public
function
test_instantiateObject_shouldReturnInstance
(): void
45
{
46
$this->assertInstanceOf(TestScoring::class, $this->testObj);
47
}
48
}
ILIAS\Test\Results\Data\Repository
Definition:
Repository.php:30
ILIAS\Test\Scoring\Manual\TestScoring
Class ilTestScoring.
Definition:
TestScoring.php:47
TestScoringTest
Class TestScoringTest.
Definition:
TestScoringTest.php:29
TestScoringTest\$testObj
TestScoring $testObj
Definition:
TestScoringTest.php:30
TestScoringTest\setUp
setUp()
Definition:
TestScoringTest.php:32
TestScoringTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
TestScoringTest.php:44
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:31
setUp
setUp()
Definition:
ilObjLanguageGuiTestSupport.php:34
getTestObjMock
getTestObjMock()
Definition:
ilTestBaseTestCaseTrait.php:481
components
ILIAS
Test
tests
TestScoringTest.php
Generated on Wed Nov 11 2026 23:10:39 for ILIAS by
1.9.4 (using
Doxyfile
)