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.
ExpectationFailedException
Overrides ParametersRule::verify
public function verify() : void { $this->doVerify(); }