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

Breadcrumb

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

function InvocationOrder::numberOfInvocations

5 calls to InvocationOrder::numberOfInvocations()
InvokedAtLeastCount::verify in vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvokedAtLeastCount.php
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
InvokedAtLeastOnce::verify in vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvokedAtLeastOnce.php
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
InvokedAtMostCount::verify in vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvokedAtMostCount.php
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
InvokedCount::invokedDo in vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvokedCount.php
InvokedCount::verify in vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvokedCount.php
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.

File

vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvocationOrder.php, line 28

Class

InvocationOrder
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\Framework\MockObject\Rule

Code

public function numberOfInvocations() : int {
    return count($this->invocations);
}

API Navigation

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