comparison vendor/phpunit/phpunit-mock-objects/src/Verifiable.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents
children
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
1 <?php
2 /*
3 * This file is part of the phpunit-mock-objects package.
4 *
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10 namespace PHPUnit\Framework\MockObject;
11
12 use PHPUnit\Framework\ExpectationFailedException;
13
14 /**
15 * Interface for classes which must verify a given expectation.
16 */
17 interface Verifiable
18 {
19 /**
20 * Verifies that the current expectation is valid. If everything is OK the
21 * code should just return, if not it must throw an exception.
22 *
23 * @throws ExpectationFailedException
24 */
25 public function verify();
26 }