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