ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
GroupConfigTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23require_once(__DIR__ . "/../../../../../../../vendor/composer/vendor/autoload.php");
24require_once(__DIR__ . "/../../../Base.php");
25
27use ILIAS;
29
34{
35 public function getDataFactory(): ILIAS\Data\Factory
36 {
37 return new ILIAS\Data\Factory();
38 }
39
40 public function testWithStacked(): void
41 {
42 $df = $this->getDataFactory();
43
44 $gc = new GroupConfig();
45 $gc1 = $gc->withStacked();
46
47 $this->assertFalse($gc->isStacked());
48 $this->assertTrue($gc1->isStacked());
49 }
50}
Test on Group Configuration implementation.
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Builds data types.
Definition: Factory.php:36
Provides common functionality for UI tests.
Definition: Base.php:337
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.