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