You are here

interface PHPUnit_Framework_MockObject_Verifiable 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

Interface for classes which must verify a given expectation.

@since Interface available since Release 1.0.0

Hierarchy

Expanded class hierarchy of PHPUnit_Framework_MockObject_Verifiable

All classes that implement PHPUnit_Framework_MockObject_Verifiable

File

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

View source
interface PHPUnit_Framework_MockObject_Verifiable {

  /**
   * 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
   */
  public function verify();

}

Members

Namesort descending Modifiers Type Description Overrides
PHPUnit_Framework_MockObject_Verifiable::verify public function Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception. 9