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