Class
RSpec::Mocks::MethodDouble
In:
lib/rspec/mocks/method_double.rb
Parent:
Hash
@private
Methods
add_default_stub
add_expectation
add_negative_expectation
add_stub
clear
configure_method
define_proxy_method
expectations
new
obfuscate
object_responds_to?
object_singleton_class
proxy_for_nil_class?
raise_method_not_stubbed_error
remove_stub
reset
reset_nil_expectations_warning
restore_original_method
stash_original_method
stashed_method_name
stubs
verify
visibility
warn_if_nil_class
Attributes
method_name
[R]
@private
Public Class methods
new
(object, method_name, proxy)
@private
Public Instance methods
add_default_stub
(*args, &implementation)
@private
add_expectation
(error_generator, expectation_ordering, expected_from, opts, &implementation)
@private
add_negative_expectation
(error_generator, expectation_ordering, expected_from, &implementation)
@private
add_stub
(error_generator, expectation_ordering, expected_from, opts={}, &implementation)
@private
clear
()
@private
configure_method
()
@private
define_proxy_method
()
@private
expectations
()
@private
obfuscate
(method_name)
@private
object_responds_to?
(method_name)
@private
object_singleton_class
()
@private
proxy_for_nil_class?
()
@private
raise_method_not_stubbed_error
()
@private
remove_stub
()
@private
reset
()
@private
reset_nil_expectations_warning
()
@private
restore_original_method
()
@private
stash_original_method
()
@private
stashed_method_name
()
@private
stubs
()
@private
verify
()
@private
visibility
()
@private
warn_if_nil_class
()
@private
[Validate]