You are here

function assertSame in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertSame()

Asserts that two variables have the same type and value. Used on objects, it asserts that two variables reference the same object.

Parameters

mixed $expected:

mixed $actual:

string $message:

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 1231

Code

function assertSame($expected, $actual, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertSame', func_get_args());
}