class RSpec::Mocks::AnyInstance::Chain

def playback!(instance)

def playback!(instance)
  messages.inject(instance) do |instance, message|
    instance.send(*message.first, &message.last)
  end
end