class ChefSpec::Error::NotStubbed

def initialize(options = {})

def initialize(options = {})
  name  = self.class.name.to_s.split("::").last
  type  = Util.underscore(name).gsub("_not_stubbed", "")
  klass = Stubs.const_get(name.gsub("NotStubbed", "") + "Stub")
  stub  = klass.new(*options[:args]).and_return("...").signature
  signature = "#{type}(#{options[:args].map(&:inspect).join(", ")})"
  super({
    type:      type,
    signature: signature,
    stub:      stub,
    _template: :not_stubbed,
  }.merge(options))
end