ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilAssQuestionHintTest.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
12{
13 protected $backupGlobals = false;
14
15 protected function setUp() : void
16 {
17 if (defined('ILIAS_PHPUNIT_CONTEXT')) {
18 include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
19 ilUnitUtil::performInitialisation();
20 } else {
21 chdir(dirname(__FILE__));
22 chdir('../../../');
23 }
24 }
25
27 {
28 // Arrange
29 require_once './Modules/TestQuestionPool/classes/class.ilAssQuestionHint.php';
30
31 // Act
32 $instance = new ilAssQuestionHint();
33
34 $this->assertInstanceOf('ilAssQuestionHint', $instance);
35 }
36}
An exception for terminatinating execution or to throw for unit testing.
Class assBaseTestCase.