class RSpec::Mocks::VerifyingPartialDoubleProxy

@private

def ensure_implemented(_method_name)

def ensure_implemented(_method_name)
  return if Mocks.configuration.temporarily_suppress_partial_double_verification
  super
end

def initialize(object, expectation_ordering, optional_callback_invocation_strategy=DEFAULT_CALLBACK_INVOCATION_STRATEGY)

def initialize(object, expectation_ordering, optional_callback_invocation_strategy=DEFAULT_CALLBACK_INVOCATION_STRATEGY)
  super(object, expectation_ordering)
  @doubled_module = DirectObjectReference.new(object)
  # A custom method double is required to pass through a way to lookup
  # methods to determine their parameters.
  @method_doubles = Hash.new do |h, k|
    h[k] = VerifyingExistingMethodDouble.for(object, k, self)
  end
  optional_callback_invocation_strategy.call(@doubled_module)
end

def method_reference

def method_reference
  @method_doubles
end