ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
ilQTIOutcomesTest.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
22
use PHPUnit\Framework\TestCase;
23
24
class
ilQTIOutcomesTest
extends
TestCase
25
{
26
public
function
testConstruct
(): void
27
{
28
$this->assertInstanceOf(ilQTIOutcomes::class,
new
ilQTIOutcomes
());
29
}
30
31
public
function
testSetGetComment
(): void
32
{
33
$instance =
new
ilQTIOutcomes
();
34
$instance->setComment(
'Some input.'
);
35
$this->assertEquals(
'Some input.'
, $instance->getComment());
36
}
37
}
ilQTIOutcomesTest
Definition:
ilQTIOutcomesTest.php:25
ilQTIOutcomesTest\testConstruct
testConstruct()
Definition:
ilQTIOutcomesTest.php:26
ilQTIOutcomesTest\testSetGetComment
testSetGetComment()
Definition:
ilQTIOutcomesTest.php:31
ilQTIOutcomes
Definition:
class.ilQTIOutcomes.php:31
Services
QTI
test
ilQTIOutcomesTest.php
Generated on Sun Nov 2 2025 22:01:45 for ILIAS by
1.9.4 (using
Doxyfile
)