lithium\test\Unit::assertIdentical()
Assert that the actual result and the expected result are identical using a strict comparison.
Parameters
-
mixed
$expected
-
mixed
$result
-
string|boolean
$message
Returns
booleantrue
if the assertion succeeded, false
otherwise.
Source
public function assertIdentical($expected, $result, $message = '{:message}') {
$data = ($expected !== $result) ? $this->_compare('identical', $expected, $result) : null;
return $this->assert($expected === $result, $message, $data);
}