interface PredictionInterface
Prediction interface. Predictions are logical test blocks, tied to `should...` keyword.
@author Konstantin Kudryashov <ever.zet@gmail.com>
Hierarchy
- interface \Prophecy\Prediction\PredictionInterface
Expanded class hierarchy of PredictionInterface
All classes that implement PredictionInterface
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Prediction/ PredictionInterface.php, line 25
Namespace
Prophecy\PredictionView source
interface PredictionInterface {
/**
* Tests that double fulfilled prediction.
*
* @param Call[] $calls
* @param ObjectProphecy<object> $object
* @param MethodProphecy $method
*
* @throws PredictionException
* @return void
*/
public function check(array $calls, ObjectProphecy $object, MethodProphecy $method);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
PredictionInterface::check | public | function | Tests that double fulfilled prediction. | 4 |