CallPrediction
in package
implements
PredictionInterface
Call prediction.
Tags
Interfaces, Classes, Traits and Enums
- PredictionInterface
- Prediction interface.
Table of Contents
- $util : mixed
- __construct() : mixed
- Initializes prediction.
- check() : void
- Tests that there was at least one call.
Properties
$util
private
mixed
$util
Methods
__construct()
Initializes prediction.
public
__construct([StringUtil $util = null ]) : mixed
Parameters
- $util : StringUtil = null
Return values
mixed —check()
Tests that there was at least one call.
public
check(array<string|int, Call> $calls, ObjectProphecy $object, MethodProphecy $method) : void
Parameters
- $calls : array<string|int, Call>
- $object : ObjectProphecy
- $method : MethodProphecy