You are here

interface PredictionInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Prediction/PredictionInterface.php \Prophecy\Prediction\PredictionInterface

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

@author Konstantin Kudryashov <ever.zet@gmail.com>

Hierarchy

Expanded class hierarchy of PredictionInterface

All classes that implement PredictionInterface

File

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

Namespace

Prophecy\Prediction
View source
interface PredictionInterface {

  /**
   * Tests that double fulfilled prediction.
   *
   * @param Call[]        $calls
   * @param ObjectProphecy $object
   * @param MethodProphecy $method
   *
   * @throws object
   * @return void
   */
  public function check(array $calls, ObjectProphecy $object, MethodProphecy $method);

}

Members

Namesort descending Modifiers Type Description Overrides
PredictionInterface::check public function Tests that double fulfilled prediction. 4