ILIAS  release_8 Revision v8.24
ilQTIMatappletTest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22use PHPUnit\Framework\TestCase;
23
24class ilQTIMatappletTest extends TestCase
25{
26 public function testConstruct(): void
27 {
28 $this->assertInstanceOf(ilQTIMatapplet::class, new ilQTIMatapplet());
29 }
30
31 public function testSetGetEmbedded(): void
32 {
33 $instance = new ilQTIMatapplet();
34 $instance->setEmbedded('Some input.');
35 $this->assertEquals('Some input.', $instance->getEmbedded());
36 }
37
38 public function testSetGetLabel(): void
39 {
40 $instance = new ilQTIMatapplet();
41 $instance->setLabel('Some input.');
42 $this->assertEquals('Some input.', $instance->getLabel());
43 }
44
45 public function testSetGetUri(): void
46 {
47 $instance = new ilQTIMatapplet();
48 $instance->setUri('Some input.');
49 $this->assertEquals('Some input.', $instance->getUri());
50 }
51
52 public function testSetGetX0(): void
53 {
54 $instance = new ilQTIMatapplet();
55 $instance->setX0('Some input.');
56 $this->assertEquals('Some input.', $instance->getX0());
57 }
58
59 public function testSetGetY(): void
60 {
61 $instance = new ilQTIMatapplet();
62 $instance->setY0('Some input.');
63 $this->assertEquals('Some input.', $instance->getY0());
64 }
65
66 public function testSetGetWidth(): void
67 {
68 $instance = new ilQTIMatapplet();
69 $instance->setWidth('Some input.');
70 $this->assertEquals('Some input.', $instance->getWidth());
71 }
72
73 public function testSetGetHeight(): void
74 {
75 $instance = new ilQTIMatapplet();
76 $instance->setHeight('Some input.');
77 $this->assertEquals('Some input.', $instance->getHeight());
78 }
79
80 public function testSetGetEntityref(): void
81 {
82 $instance = new ilQTIMatapplet();
83 $instance->setEntityref('Some input.');
84 $this->assertEquals('Some input.', $instance->getEntityref());
85 }
86
87 public function testSetGetContent(): void
88 {
89 $instance = new ilQTIMatapplet();
90 $instance->setContent('Some input.');
91 $this->assertEquals('Some input.', $instance->getContent());
92 }
93}