ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
DimensionGroupTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 require_once('./vendor/composer/vendor/autoload.php');
22 
25 
27 {
28  protected Dimension\Factory $f;
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