ILIAS  release_8 Revision v8.24
BasicGroupTest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
25use ILIAS\Refinery\In\Group as InGroup;
29
31{
32 private InGroup $group;
33
34 protected function setUp(): void
35 {
36 $this->group = new InGroup();
37 }
38
39 public function testParallelInstanceCreated(): void
40 {
41 $transformation = $this->group->parallel([new StringTransformation(), new IntegerTransformation()]);
42 $this->assertInstanceOf(Parallel::class, $transformation);
43 }
44
45 public function testSeriesInstanceCreated(): void
46 {
47 $transformation = $this->group->series([new StringTransformation(), new IntegerTransformation()]);
48 $this->assertInstanceOf(Series::class, $transformation);
49 }
50}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...