module RSpec::Mocks::VerifyingProxyMethods
def add_message_expectation(location, method_name, opts={}, &block)
def add_message_expectation(location, method_name, opts={}, &block) ensure_implemented(method_name) super end
def add_simple_stub(method_name, *args)
def add_simple_stub(method_name, *args) ensure_implemented(method_name) super end
def add_stub(location, method_name, opts={}, &implementation)
def add_stub(location, method_name, opts={}, &implementation) ensure_implemented(method_name) super end
def ensure_implemented(method_name)
def ensure_implemented(method_name) return unless @doubled_module.defined? method_reference[method_name].when_unimplemented do @error_generator.raise_unimplemented_error( @doubled_module, method_name ) end end