# File lib/flexmock.rb, line 980 980: def should_receive(method_name) 981: method_name = method_name.to_sym 982: unless @methods_proxied.include?(method_name) 983: hide_existing_method(method_name) 984: @methods_proxied << method_name 985: end 986: @mock.should_receive(method_name) 987: end