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

Breadcrumb

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

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\Prediction
View 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
RSS feed
Powered by Drupal