Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PredictionInterface.php

function PredictionInterface::check

Tests that double fulfilled prediction.

Parameters

Call[] $calls:

ObjectProphecy<object> $object:

MethodProphecy $method:

Return value

void

Throws

PredictionException

4 methods override PredictionInterface::check()
CallbackPrediction::check in vendor/phpspec/prophecy/src/Prophecy/Prediction/CallbackPrediction.php
Tests that double fulfilled prediction.
CallPrediction::check in vendor/phpspec/prophecy/src/Prophecy/Prediction/CallPrediction.php
Tests that double fulfilled prediction.
CallTimesPrediction::check in vendor/phpspec/prophecy/src/Prophecy/Prediction/CallTimesPrediction.php
Tests that double fulfilled prediction.
NoCallsPrediction::check in vendor/phpspec/prophecy/src/Prophecy/Prediction/NoCallsPrediction.php
Tests that double fulfilled prediction.

File

vendor/phpspec/prophecy/src/Prophecy/Prediction/PredictionInterface.php, line 37

Class

PredictionInterface
Prediction interface. Predictions are logical test blocks, tied to `should...` keyword.

Namespace

Prophecy\Prediction

Code

public function check(array $calls, ObjectProphecy $object, MethodProphecy $method);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal