You are here

function assertInstanceOf in Zircon Profile 8

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

Asserts that a variable is of a given type.

@since Method available since Release 3.5.0

Parameters

string $expected:

mixed $actual:

string $message:

File

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

Code

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