public function PHPUnit_Framework_MockObject_Matcher_InvokedRecorder::getInvocationCount

Return value

integer

3 calls to PHPUnit_Framework_MockObject_Matcher_InvokedRecorder::getInvocationCount()
PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce::verify in drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Matcher/InvokedAtLeastOnce.php
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
PHPUnit_Framework_MockObject_Matcher_InvokedCount::invoked in drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Matcher/InvokedCount.php
PHPUnit_Framework_MockObject_Matcher_InvokedCount::verify in drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Matcher/InvokedCount.php
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.

File

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

Class

PHPUnit_Framework_MockObject_Matcher_InvokedRecorder
Records invocations and provides convenience methods for checking them later on. This abstract class can be implemented by matchers which needs to check the number of times an invocation has occured.

Code

public function getInvocationCount() {
  return count($this->invocations);
}