Reflection and Unit Testing
[ 136 ]
Assertion Meaning
void assertAttributeEquals(string
$expected, string $actualAttributeName,
object $actualObject, string $message)
Reports an error identified by
$message if the two strings
$expected and $actualObject-
>actualAttributeName are not
equal. The error is reported as the
delta between the two strings. The
visibility of the $actualObject-
>actualAttributeName attribute
may be public, protected, or private.
void assertAttributeNotEquals(string
$expected, string $actualAttributeName,
object $actualObject)
Reports an error if the two strings
$expected and $actualObject-
>actualAttributeName are equal.
The visibility of the $actualObject-
>actualAttributeName attribute
may be public, protected, or private.
void assertAttributeNotEquals(string
$expected, string $actualAttributeName,
object $actualObject, string $message)
Reports an error identified by
$message if the two strings
$expected and $actualObject-
>actualAttributeName are equal.
The visibility of the $actualObject-
>actualAttributeName attribute
may be public, protected, or private.
void assertAttributeEquals(mixed
$expected, string $actualAttributeName,
object $actualObject)
Reports an error if the two variables
$expected and $actualObject-
>actualAttributeName
are not equal.
Pages:
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154