lithium\test\Unit::assertNull()
Assert that the result is strictly null
.
Parameters
-
mixed
$result
-
string
$message
Returns
booleantrue
if the assertion succeeded, false
otherwise.
Source
public function assertNull($result, $message = '{:message}') {
$expected = null;
return $this->assert($result === null, $message, compact('expected', 'result'));
}