lithium\test\Unit::assertNotEqual()

public method

Assert that the actual result and the expected result are not equal to each other.

Parameters

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

Returns

boolean

true if the assertion succeeded, false otherwise.

Source

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