def load_self
        Strainer.ui.debug "Sandbox#load_self"

        begin
          Berkshelf::CachedCookbook.from_path(File.expand_path('.'))
        rescue Berkshelf::CookbookNotFound
          raise Strainer::Error::CookbookNotFound, "'#{File.expand_path('.')}' existed, but I could not extract a cookbook. Is there a 'metadata.rb'?"
        end
      end
def load_self
        Strainer.ui.debug "Sandbox#load_self"

        begin
          Berkshelf::CachedCookbook.from_path(File.expand_path('.'))
        rescue Berkshelf::CookbookNotFound
          raise Strainer::Error::CookbookNotFound, "'#{File.expand_path('.')}' existed, but I could not extract a cookbook. Is there a 'metadata.rb'?"
        end
      end
Load the current root entirely as a cookbook. This is useful when testing within
 a cookbook, instead of a chef repo