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\Integer
;
5
6
use
ILIAS\Data\Factory
;
7
use
ILIAS\Refinery\Integer\Group
;
8
use
ILIAS\Refinery\Integer\GreaterThan
;
9
use
ILIAS\Refinery\Integer\LessThan
;
10
use
ILIAS\Tests\Refinery\TestCase
;
11
12
require_once(
'./libs/composer/vendor/autoload.php'
);
13
14
class
GroupTest
extends
TestCase
15
{
19
private
$group
;
20
21
public
function
setUp
() : void
22
{
23
$dataFactory =
new
Factory
();
24
$language = $this->getMockBuilder(
'\ilLanguage'
)
25
->disableOriginalConstructor()
26
->getMock();
27
28
$this->group =
new
Group
($dataFactory, $language);
29
}
30
31
public
function
testGreaterThanInstance
()
32
{
33
$instance = $this->group->isGreaterThan(42);
34
$this->assertInstanceOf(GreaterThan::class, $instance);
35
}
36
public
function
testLowerThanInstance
()
37
{
38
$instance = $this->group->isLessThan(42);
39
$this->assertInstanceOf(LessThan::class, $instance);
40
}
41
}
ILIAS\Tests\Refinery\Integer\GroupTest\$group
$group
Definition:
GroupTest.php:19
ILIAS\Tests\Refinery\Integer
ILIAS\Refinery\Integer\Group
Definition:
Group.php:13
TestCase
ILIAS\Tests\Refinery\Integer\GroupTest
Definition:
GroupTest.php:14
ILIAS\Tests\Refinery\Integer\GroupTest\setUp
setUp()
Definition:
GroupTest.php:21
ILIAS\Tests\Refinery\Integer\GroupTest\testGreaterThanInstance
testGreaterThanInstance()
Definition:
GroupTest.php:31
ILIAS\Tests\Refinery\Integer\GroupTest\testLowerThanInstance
testLowerThanInstance()
Definition:
GroupTest.php:36
Factory
GreaterThan
ILIAS\Data\Factory
Builds data types.
Definition:
Factory.php:19
Group
LessThan
TestCase
tests
Refinery
Integer
GroupTest.php
Generated on Sun Apr 6 2025 21:01:50 for ILIAS by
1.8.13 (using
Doxyfile
)