class RSpec::Mocks::MethodDouble

def remove_stub_if_present

Other tags:
    Private: -
def remove_stub_if_present
  expectations.empty? ? reset : stubs.clear
end