ILIAS
release_8 Revision v8.23
◀ 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
}
ilQTIOutcomes
Definition:
class.ilQTIOutcomes.php:30
ilQTIOutcomesTest
Definition:
ilQTIOutcomesTest.php:24
ilQTIOutcomesTest\testConstruct
testConstruct()
Definition:
ilQTIOutcomesTest.php:26
ilQTIOutcomesTest\testSetGetComment
testSetGetComment()
Definition:
ilQTIOutcomesTest.php:31
TestCase
Services
QTI
test
ilQTIOutcomesTest.php
Generated on Wed Sep 3 2025 22:02:38 for ILIAS by
1.8.13 (using
Doxyfile
)