# File lib/mocha/expectation.rb, line 66 66: def twice 67: @cardinality = Cardinality.exactly(2) 68: self 69: end