src/main/php/Verification.php
public function wasCalledAtLeastOnce(): bool
    {
        if (count($this->invocations) < 1) {
            throw new CallAmountViolation(sprintf(
                    '%s was expected to be called at least once,'
                    . ' but was never called.',
                    $this->invocations->name()
            ));
        }

        return true;
    }
public function wasCalledAtLeastOnce(): bool
    {
        if (count($this->invocations) < 1) {
            throw new CallAmountViolation(sprintf(
                    '%s was expected to be called at least once,'
                    . ' but was never called.',
                    $this->invocations->name()
            ));
        }

        return true;
    }
public function wasCalledAtLeastOnce ( ) : bool { if ( count ( $ this -> invocations ) < 1 ) { throw new CallAmountViolation ( sprintf ( '%s was expected to be called at least once,' . ' but was never called.' , $ this -> invocations -> name ( ) ) ) ; } return true ; }
verifies that the method on the class was called at least once

@api
@return  bool
@throws  \bovigo\callmap\CallAmountViolation
verifies that the method on the class was called at least once