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