You are here

public function PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtMostCount.php \PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount::__construct()

Parameters

int $allowedInvocations:

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtMostCount.php, line 27

Class

PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount
Invocation matcher which checks if a method has been invoked at least N times.

Code

public function __construct($allowedInvocations) {
  $this->allowedInvocations = $allowedInvocations;
}