• internal This class is not covered by the backward compatibility promise for PHPUnit
CloneableFinalInstantiable
ImplementsPHPUnit\Framework\MockObject\Rule\ParametersRule
PHPUnit\Framework\MockObject\Verifiable
PHPUnit\Framework\SelfDescribing
Methods
public __construct(array $parameters)
 
  • throws PHPUnit\Framework\Exception
public apply(PHPUnit\Framework\MockObject\Invocation $invocation) : void
 
  • throws Exception
public toString() : string
public verify() : void
 

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.

  • throws ExpectationFailedException
  • throws SebastianBergmann\RecursionContext\InvalidArgumentException
Properties
private $invocation
 
  • var BaseInvocation
private $parameters
 
  • var Constraint[]
private $parameterVerificationResult
 
  • var bool|\ExpectationFailedException
Methods
private doVerify() : bool
 
  • throws ExpectationFailedException
  • throws SebastianBergmann\RecursionContext\InvalidArgumentException
private guardAgainstDuplicateEvaluationOfParameterConstraints() : bool
 
  • throws ExpectationFailedException
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only