You are here

function assertArraySubset in Zircon Profile 8

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

Asserts that an array has a specified subset.

@since Method available since Release 4.4.0

Parameters

array|ArrayAccess $subset:

array|ArrayAccess $array:

bool $strict Check for object identity:

string $message:

File

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

Code

function assertArraySubset($subset, $array, $strict = false, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertArraySubset', func_get_args());
}