Menu

## CallPrediction
in package
implements PredictionInterface

CallPrediction.php : 27

Call prediction.

##### Tags

author

  Konstantin Kudryashov ever.zet@gmail.com

### Interfaces, Classes and Traits

PredictionInterface
  Prediction interface.

### Table of Contents

$util : mixed
__construct() : mixed
  Initializes prediction.
check() : void
  Tests that there was at least one call.

### Properties

#### $util

CallPrediction.php : 29
`private mixed $util`

### Methods

#### __construct()

CallPrediction.php : 36

Initializes prediction.

`public __construct([StringUtil $util = null ]) : mixed`

##### Parameters

$util : StringUtil = null

##### Return values

mixed —

#### check()

CallPrediction.php : 50

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

##### Tags

throws
  NoCallsException

##### Return values

void —

## Search results