class Shoulda::Matchers::Doublespeak::ProxyImplementation

@private

def self.create

def self.create
  new(StubImplementation.new)
end

def call(call)

def call(call)
  return_value = call.double.call_original_method(call)
  stub_implementation.call(call.with_return_value(return_value))
  return_value
end

def initialize(stub_implementation)

def initialize(stub_implementation)
  @stub_implementation = stub_implementation
end