lithium\test\Unit::assertNull PHP Method

assertNull() public method

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