class RSpec::Mocks::InstanceVerifyingDouble
@private
given class.
method stubs or expectations against the public instance methods of the
A mock providing a custom proxy that can verify the validity of any
def __build_mock_proxy(order_group)
def __build_mock_proxy(order_group) VerifyingProxy.new(self, order_group, @name, @doubled_module, InstanceMethodReference ) end
def initialize(doubled_module, *args)
def initialize(doubled_module, *args) @doubled_module = doubled_module super( "#{doubled_module.description} (instance)", *args ) end