ILIAS  release_8 Revision v8.24
GroupTest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
23use ILIAS\Data\Factory as DataFactory;
25use ILIAS\Refinery\Numeric\Group as NumericGroup;
27use ilLanguage;
28
29class GroupTest extends TestCase
30{
31 private NumericGroup $group;
32 private DataFactory $dataFactory;
34
35 protected function setUp(): void
36 {
37 $this->dataFactory = new DataFactory();
38 $this->language = $this->getMockBuilder(ilLanguage::class)
39 ->disableOriginalConstructor()
40 ->getMock();
41
42 $this->group = new NumericGroup($this->dataFactory, $this->language);
43 }
44
45 public function testIsNumericGroup(): void
46 {
47 $instance = $this->group->isNumeric();
48 $this->assertInstanceOf(IsNumeric::class, $instance);
49 }
50}
Builds data types.
Definition: Factory.php:21
language handling
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: GroupTest.php:21