class RSpec::Mocks::InstanceVerifyingDouble

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,
    @doubled_module,
    InstanceMethodReference
  )
end

def initialize(doubled_module, *args)

def initialize(doubled_module, *args)
  @doubled_module = doubled_module
  __initialize_as_test_double(doubled_module, *args)
end