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

Breadcrumb

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

function MethodProphecy::shouldNotHaveBeenCalled

Checks no calls prediction.

Return value

$this

Throws

PredictionException

See also

\Prophecy\Prediction\NoCallsPrediction

1 call to MethodProphecy::shouldNotHaveBeenCalled()
MethodProphecy::shouldNotBeenCalled in vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php
Checks no calls prediction.

File

vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php, line 477

Class

MethodProphecy
Method prophecy.

Namespace

Prophecy\Prophecy

Code

public function shouldNotHaveBeenCalled() {
    return $this->shouldHave(new Prediction\NoCallsPrediction());
}
RSS feed
Powered by Drupal