# File lib/mocha/expectation.rb, line 551 551: def invocations_allowed? 552: @cardinality.invocations_allowed?(@invocation_count) 553: end