function 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

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php, line 1218

Code

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