ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
ChangedUserFieldAttributeTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\User\Tests
;
22
23
use
ILIAS\User\Profile\ChangeListeners\ChangedUserFieldAttribute
;
24
29
class
ChangedUserFieldAttributeTest
extends
BaseTestCase
30
{
31
private
ChangedUserFieldAttribute
$changedUserFieldAttribute
;
32
33
protected
function
setUp
(): void
34
{
35
$this->changedUserFieldAttribute =
new
ChangedUserFieldAttribute
(
36
"AttributeName"
,
37
"oldValue"
,
38
"newValue"
39
);
40
}
41
42
public
function
testGetAttributeName
(): void
43
{
44
$this->assertEquals(
"AttributeName"
, $this->changedUserFieldAttribute->getAttributeName());
45
}
46
47
public
function
testGetOldValue
(): void
48
{
49
$this->assertEquals(
"oldValue"
, $this->changedUserFieldAttribute->getOldValue());
50
}
51
52
public
function
testGetNewValue
(): void
53
{
54
$this->assertEquals(
"newValue"
, $this->changedUserFieldAttribute->getNewValue());
55
}
56
}
ILIAS\User\Tests\ChangedUserFieldAttributeTest\setUp
setUp()
Definition:
ChangedUserFieldAttributeTest.php:33
ILIAS\User\Tests\ChangedUserFieldAttributeTest\$changedUserFieldAttribute
ChangedUserFieldAttribute $changedUserFieldAttribute
Definition:
ChangedUserFieldAttributeTest.php:31
ILIAS\User\Tests\ChangedUserFieldAttributeTest\testGetAttributeName
testGetAttributeName()
Definition:
ChangedUserFieldAttributeTest.php:42
ILIAS\User\Tests\ChangedUserFieldAttributeTest\testGetOldValue
testGetOldValue()
Definition:
ChangedUserFieldAttributeTest.php:47
ILIAS\User\Tests\BaseTestCase
Definition:
BaseTestCase.php:28
ChangedUserFieldAttribute
ILIAS\User\Tests\ChangedUserFieldAttributeTest
Class ChangedUserFieldAttributeTest.
Definition:
ChangedUserFieldAttributeTest.php:29
ILIAS\User\Tests\ChangedUserFieldAttributeTest\testGetNewValue
testGetNewValue()
Definition:
ChangedUserFieldAttributeTest.php:52
ILIAS\User\Profile\ChangeListeners\ChangedUserFieldAttribute
Class ChangedUserFieldAttribute.
Definition:
ChangedUserFieldAttribute.php:27
ILIAS\User\Tests
Definition:
BaseTestCase.php:20
components
ILIAS
User
tests
Profile
ChangeListeners
ChangedUserFieldAttributeTest.php
Generated on Thu Apr 10 2025 23:04:33 for ILIAS by
1.8.13 (using
Doxyfile
)