public function PHPUnit_Framework_MockObject_Matcher_Parameters::matches

Parameters

PHPUnit_Framework_MockObject_Invocation $invocation:

Return value

boolean

Overrides PHPUnit_Framework_MockObject_Matcher_Invocation::matches

File

drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Matcher/Parameters.php, line 110

Class

PHPUnit_Framework_MockObject_Matcher_Parameters
Invocation matcher which looks for specific parameters in the invocations.

Code

public function matches(PHPUnit_Framework_MockObject_Invocation $invocation) {
  $this->invocation = $invocation;
  $this
    ->verify();
  return count($invocation->parameters) < count($this->parameters);
}