You are here

public function PHPUnit_Framework_MockObject_Verifiable::verify in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Verifiable.php \PHPUnit_Framework_MockObject_Verifiable::verify()

Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.

Throws

PHPUnit_Framework_ExpectationFailedException

9 methods override PHPUnit_Framework_MockObject_Verifiable::verify()
PHPUnit_Framework_MockObject_InvocationMocker::verify in vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php
PHPUnit_Framework_MockObject_Matcher::verify in vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher.php
PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount::verify in vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/AnyInvokedCount.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_InvokedAtIndex::verify in vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtIndex.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_InvokedAtLeastCount::verify in vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtLeastCount.php
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.

... See full list

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Verifiable.php, line 24

Class

PHPUnit_Framework_MockObject_Verifiable
Interface for classes which must verify a given expectation.

Code

public function verify();