# File lib/mocha/expectation_list.rb, line 18 18: def similar(method_name) 19: @expectations.select { |expectation| expectation.matches_method?(method_name) } 20: end