ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilQTIRenderHotspotTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21use PHPUnit\Framework\TestCase;
22
23class ilQTIRenderHotspotTest extends TestCase
24{
25 public function testConstruct(): void
26 {
27 $this->assertInstanceOf(ilQTIRenderHotspot::class, new ilQTIRenderHotspot());
28 }
29
30 public function testSetGetMinnumber(): void
31 {
32 $instance = new ilQTIRenderHotspot();
33 $instance->setMinnumber('Some input.');
34 $this->assertEquals('Some input.', $instance->getMinnumber());
35 }
36
37 public function testSetGetMaxnumber(): void
38 {
39 $instance = new ilQTIRenderHotspot();
40 $instance->setMaxnumber('Some input.');
41 $this->assertEquals('Some input.', $instance->getMaxnumber());
42 }
43}