# File lib/mocha/expectation.rb, line 550
    def invocations_allowed?
      @cardinality.invocations_allowed?(@invocation_count)
    end