ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
GroupTest.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
namespace
ILIAS\Tests\Refinery\Numeric
;
5
6
use
ILIAS\Data\Factory
;
7
use
ILIAS\Refinery\Integer\GreaterThan
;
8
use
ILIAS\Refinery\Integer\LessThan
;
9
use
ILIAS\Refinery\Numeric\IsNumeric
;
10
use
ILIAS\Refinery\Numeric\Group
;
11
use
ILIAS\Tests\Refinery\TestCase
;
12
13
require_once(
'./libs/composer/vendor/autoload.php'
);
14
15
class
GroupTest
extends
TestCase
16
{
20
private
$group
;
21
25
private
$dataFactory
;
26
30
private
$language
;
31
32
public
function
setUp
() : void
33
{
34
$this->dataFactory =
new
Factory
();
35
$this->
language
= $this->getMockBuilder(
'\ilLanguage'
)
36
->disableOriginalConstructor()
37
->getMock();
38
39
$this->group =
new
Group
($this->dataFactory, $this->
language
);
40
}
41
42
public
function
testIsNumericGroup
()
43
{
44
$instance = $this->group->isNumeric();
45
$this->assertInstanceOf(IsNumeric::class, $instance);
46
}
47
}
ILIAS\Tests\Refinery\Numeric\GroupTest\$group
$group
Definition:
GroupTest.php:20
TestCase
ILIAS\Tests\Refinery\Numeric\GroupTest\testIsNumericGroup
testIsNumericGroup()
Definition:
GroupTest.php:42
ILIAS\Tests\Refinery\Numeric\GroupTest\$language
$language
Definition:
GroupTest.php:30
Factory
GreaterThan
ILIAS\Data\Factory
Builds data types.
Definition:
Factory.php:19
ILIAS\Tests\Refinery\Numeric\GroupTest\$dataFactory
$dataFactory
Definition:
GroupTest.php:25
IsNumeric
ILIAS\Tests\Refinery\Numeric
Definition:
GroupTest.php:4
Group
ILIAS\Tests\Refinery\Numeric\GroupTest
Definition:
GroupTest.php:15
ILIAS\Refinery\Numeric\Group
Definition:
Group.php:12
language
language()
Definition:
language.php:2
LessThan
ILIAS\Tests\Refinery\Numeric\GroupTest\setUp
setUp()
Definition:
GroupTest.php:32
TestCase
tests
Refinery
Numeric
GroupTest.php
Generated on Sat Apr 5 2025 21:01:48 for ILIAS by
1.8.13 (using
Doxyfile
)