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

Public Member Functions

 __construct (array $parameters)
 
 toString ()
 
 apply (BaseInvocation $invocation)
 
 verify ()
 

Constructor & Destructor Documentation

◆ __construct()

PHPUnit\Framework\MockObject\Rule\Parameters::__construct ( array  $parameters)
Exceptions

Member Function Documentation

◆ apply()

PHPUnit\Framework\MockObject\Rule\Parameters::apply ( BaseInvocation  $invocation)

◆ toString()

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

Returns a string representation of the object.

Implements PHPUnit\Framework\SelfDescribing.

◆ verify()

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

Checks if the invocation $invocation matches the current rules. If it does the rule will get the invoked() method called which should check if an expectation is met.

Exceptions
ExpectationFailedException

Implements PHPUnit\Framework\MockObject\Rule\ParametersRule.


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