init
This commit is contained in:
26
vendor/phpunit/phpunit-mock-objects/src/Verifiable.php
vendored
Normal file
26
vendor/phpunit/phpunit-mock-objects/src/Verifiable.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/*
|
||||
* This file is part of the phpunit-mock-objects package.
|
||||
*
|
||||
* (c) Sebastian Bergmann <sebastian@phpunit.de>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace PHPUnit\Framework\MockObject;
|
||||
|
||||
use PHPUnit\Framework\ExpectationFailedException;
|
||||
|
||||
/**
|
||||
* Interface for classes which must verify a given expectation.
|
||||
*/
|
||||
interface 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 ExpectationFailedException
|
||||
*/
|
||||
public function verify();
|
||||
}
|
||||
Reference in New Issue
Block a user