file-fetcher
Public Member Functions | Protected Member Functions | List of all members
PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount Class Reference
Inheritance diagram for PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount:
PHPUnit\Framework\MockObject\Rule\InvocationOrder PHPUnit\Framework\SelfDescribing PHPUnit\Framework\MockObject\Verifiable

Public Member Functions

 __construct ($requiredInvocations)
 
 toString ()
 
 verify ()
 
 matches (BaseInvocation $invocation)
 
- Public Member Functions inherited from PHPUnit\Framework\MockObject\Rule\InvocationOrder
 getInvocationCount ()
 
 hasBeenInvoked ()
 
 invoked (BaseInvocation $invocation)
 

Protected Member Functions

 invokedDo (BaseInvocation $invocation)
 

Constructor & Destructor Documentation

◆ __construct()

PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount::__construct (   $requiredInvocations)
Parameters
int$requiredInvocations

Member Function Documentation

◆ invokedDo()

PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount::invokedDo ( BaseInvocation  $invocation)
protected

◆ matches()

PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount::matches ( BaseInvocation  $invocation)

◆ toString()

PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount::toString ( )

Returns a string representation of the object.

Implements PHPUnit\Framework\SelfDescribing.

◆ verify()

PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount::verify ( )

Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.

Exceptions
ExpectationFailedException

Implements PHPUnit\Framework\MockObject\Verifiable.


The documentation for this class was generated from the following file: