3 * This file is part of the PHPUnit_MockObject package.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
12 * Interface for classes which must verify a given expectation.
14 * @since Interface available since Release 1.0.0
16 interface PHPUnit_Framework_MockObject_Verifiable
19 * Verifies that the current expectation is valid. If everything is OK the
20 * code should just return, if not it must throw an exception.
22 * @throws PHPUnit_Framework_ExpectationFailedException
24 public function verify();