ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilAssQuestionHintTrackingTest.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()
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.ilAssQuestionHintTracking.php';
30
31 // Act
32 $instance = new ilAssQuestionHintTracking(null, null, null);
33
34 $this->assertInstanceOf('ilAssQuestionHintTracking', $instance);
35 }
36}
An exception for terminatinating execution or to throw for unit testing.