class RSpec::Mocks::VerifyingMethodDouble

def add_stub(*args, &block)

def add_stub(*args, &block)
  # explict params necessary for 1.8.7 see #626
  super(*args, &block).tap { |x| x.method_reference = @method_reference }
end