src/main/php/Verification.php
public function receivedNothing(int $invocation = 1): bool
    {
        $received = $this->invocations->argumentsOf($invocation);
        if  (count($received) === 0) {
            return true;
        }

        throw new ArgumentMismatch(sprintf(
                'Argument count for invocation #%d of %s is too'
                . ' high: received %d argument(s), expected no arguments.',
                $invocation,
                $this->invocations->name(),
                count($received)
        ));
    }
public function receivedNothing(int $invocation = 1): bool
    {
        $received = $this->invocations->argumentsOf($invocation);
        if  (count($received) === 0) {
            return true;
        }

        throw new ArgumentMismatch(sprintf(
                'Argument count for invocation #%d of %s is too'
                . ' high: received %d argument(s), expected no arguments.',
                $invocation,
                $this->invocations->name(),
                count($received)
        ));
    }
public function receivedNothing ( int $ invocation = 1 ) : bool { $ received = $ this -> invocations -> argumentsOf ( $ invocation ) ; if ( count ( $ received ) === 0 ) { return true ; } throw new ArgumentMismatch ( sprintf ( 'Argument count for invocation #%d of %s is too' . ' high: received %d argument(s), expected no arguments.' , $ invocation , $ this -> invocations -> name ( ) , count ( $ received ) ) ) ; }
verifies that the method received nothing on the given invocation

@api
@param   int  $invocation  optional  nth invocation to check, defaults to 1 aka first invocation
@return  bool
@throws  \bovigo\callmap\ArgumentMismatch
verifies that the method received nothing on the given invocation