# File lib/flexmock.rb, line 143
143:   def should_receive(sym)
144:     @expectations[sym] ||= ExpectationDirector.new(sym)
145:     result = Expectation.new(self, sym)
146:     @expectations[sym] << result
147:     override_existing_method(sym) if mock_respond_to?(sym)
148:     result
149:   end