class ChefSpec::Stubs::Registry

def initialize

def initialize
  reset!
end

def register(stub)

def register(stub)
  @stubs.insert(0, stub)
  stub
end

def reset!

def reset!
  @stubs = []
end

def stub_for(*args)

def stub_for(*args)
  raise ArgumentError, "#stub_for is an abstract function"
end