ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
ilTestServiceTest.php
Go to the documentation of this file.
1
<?php
2
23
class
ilTestServiceTest
extends
ilTestBaseTestCase
24
{
25
private
ilTestService
$testObj
;
26
27
protected
function
setUp
(): void
28
{
29
global
$DIC
;
30
parent::setUp();
31
32
$this->testObj =
new
ilTestService
($this->createMock(ilObjTest::class), $DIC[
'ilDB'
], $this->createMock(\
ILIAS
\TestQuestionPool\QuestionInfoService::class));
33
}
34
35
public
function
test_instantiateObject_shouldReturnInstance
(): void
36
{
37
$this->assertInstanceOf(ilTestService::class, $this->testObj);
38
}
39
}
ilTestServiceTest\setUp
setUp()
Definition:
ilTestServiceTest.php:27
ilTestServiceTest\$testObj
ilTestService $testObj
Definition:
ilTestServiceTest.php:25
ILIAS
Class ChatMainBarProvider .
$DIC
global $DIC
Definition:
feed.php:28
ilTestService
Service class for tests.
Definition:
class.ilTestService.php:31
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:36
ilTestServiceTest
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ilTestServiceTest.php:23
ilTestServiceTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilTestServiceTest.php:35
Modules
Test
test
ilTestServiceTest.php
Generated on Wed Sep 10 2025 14:11:08 for ILIAS by
1.8.13 (using
Doxyfile
)