ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DimensionGroupTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21require_once('./vendor/composer/vendor/autoload.php');
22
24use PHPUnit\Framework\TestCase;
25
26class DimensionGroupTest extends TestCase
27{
29
30 protected function setUp(): void
31 {
32 $this->f = new Dimension\Factory();
33 }
34
35 public function testDimensionKeys(): void
36 {
37 $labels = ["dimension1", "dimension2", "dimension3"];
38 $g = $this->f->group(...$labels);
39 $this->assertEquals($labels, $g->getDimensionKeys());
40 }
41}
Dimension Factory $f