You are here

function assertContainsOnlyInstancesOf in Zircon Profile 8.0

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

Asserts that a haystack contains only instances of a given classname

Parameters

string $classname:

array|Traversable $haystack:

string $message:

File

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

Code

function assertContainsOnlyInstancesOf($classname, $haystack, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertContainsOnlyInstancesOf', func_get_args());
}