class RSpec::Mocks::Proxy

def add_stub(method_name, opts={}, &implementation)

Other tags:
    Private: -
def add_stub(method_name, opts={}, &implementation)
  location = opts.fetch(:expected_from) { CallerFilter.first_non_rspec_line }
  method_double_for(method_name).add_stub @error_generator, @order_group, location, opts, &implementation
end