void assertNull(mixed $variable,
string $message)
Reports an error identified by
$message if $variable is not NULL.
void assertNotNull(mixed $variable)
Reports an error if $variable is
NULL.
void assertNotNull(mixed $variable,
string $message)
Reports an error identified by
$message if $variable is NULL.
void assertSame(object $expected,
object $actual)
Reports an error if the two variables
$expected and $actual do not
reference the same object.
void assertSame(object $expected,
object $actual, string $message)
Reports an error identified by
$message if the two variables
$expected and $actual do not
reference the same object.
void assertSame(mixed $expected, mixed
$actual)
Reports an error if the two variables
$expected and $actual do not have
the same type and value.
Chapter 5
[ 131 ]
Assertion Meaning
void assertSame(mixed $expected, mixed
$actual, string $message)
Reports an error identified by
$message if the two variables
$expected and $actual do not have
the same type and value.
void assertNotSame(object $expected,
object $actual)
Reports an error if the two variables
$expected and $actual reference
the same object.
void assertNotSame(object $expected,
object $actual, string $message)
Reports an error identified by
$message if the two variables
$expected and $actual reference
the same object.
Pages:
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146