class RSpec::Mocks::MethodDouble

def remove_stub

Other tags:
    Private: -
def remove_stub
  raise_method_not_stubbed_error if stubs.empty?
  expectations.empty? ? reset : stubs.clear
end