ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestServiceTest.php
Go to the documentation of this file.
1 <?php
2 
24 {
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 
36  {
37  $this->assertInstanceOf(ilTestService::class, $this->testObj);
38  }
39 }
ilTestService $testObj
Class ChatMainBarProvider .
global $DIC
Definition: feed.php:28
Service class for tests.
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
test_instantiateObject_shouldReturnInstance()