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

Breadcrumb

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

function MethodProphecy::shouldNotBeCalled

Sets no calls prediction to the prophecy.

Return value

$this

See also

\Prophecy\Prediction\NoCallsPrediction

File

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

Class

MethodProphecy
Method prophecy.

Namespace

Prophecy\Prophecy

Code

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