lithium\test\Unit::assertNotIdentical()

public method

Assert that the actual result and the expected result are not identical using a strict comparison.

Parameters

  • mixed $expected
  • mixed $result
  • string|boolean $message

Returns

boolean

true if the assertion succeeded, false otherwise.

Source

	public function assertNotIdentical($expected, $result, $message = '{:message}') {
		return $this->assert($expected !== $result, $message, compact('expected', 'result'));
	}