ILIAS  release_8 Revision v8.24
ilQTIResprocessingTest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22use PHPUnit\Framework\TestCase;
23
24class ilQTIResprocessingTest extends TestCase
25{
26 public function testConstruct(): void
27 {
28 $this->assertInstanceOf(ilQTIResprocessing::class, new ilQTIResprocessing());
29 }
30
31 public function testSetGetComment(): void
32 {
33 $instance = new ilQTIResprocessing();
34 $instance->setComment('Some input.');
35 $this->assertEquals('Some input.', $instance->getComment());
36 }
37
38 public function testSetGetScoremodel(): void
39 {
40 $instance = new ilQTIResprocessing();
41 $instance->setScoremodel('Some input.');
42 $this->assertEquals('Some input.', $instance->getScoremodel());
43 }
44}