You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: stub_efolder_documents.rb
    path of file: ./repos/vets-api/spec/support
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'efolder/service'

def stub_efolder_documents(method)
  let!(:efolder_service) do
    efolder_service = double
    expect(Efolder::Service).to receive(:new).and_return(efolder_service)
    efolder_service
  end

  if method == :show
    let(:document_id) { '{93631483-E9F9-44AA-BB55-3552376400D8}' }
    let(:content) { File.read('spec/fixtures/files/error_message.txt') }

    before do
      expect(efolder_service).to receive(:get_document).with(document_id).and_return(content)
    end
  else
    let(:list_documents_res) { get_fixture('vbms/list_documents') }

    before do
      expect(efolder_service).to receiv
    
def stub_efolder_documents(method)
  let!(:efolder_service) do
    efolder_service = double
    expect(Efolder::Service).to receive(:new).and_return(efolder_service)
    efolder_service
  end

  if method == :show
    let(:document_id) { '{93631483-E9F9-44AA-BB55-3552376400D8}' }
    let(:content) { File.read('spec/fixtures/files/error_message.txt') }

    before do
      expect(efolder_service).to receive(:get_document).with(document_id).and_return(content)
    end
  else
    let(:list_documents_res) { get_fixture('vbms/list_documents') }

    before do
      expect(efolder_service).to receive(:list_documents).and_return(
        list_documents_res
      )
    end
  end
end