# File lib/mocha/expectation.rb, line 338 338: def throws(tag, object = nil) 339: @return_values += ReturnValues.new(Thrower.new(tag, object)) 340: self 341: end