---
schema_version: "1"
id: c0ef4e75ba26cc1d87c084511f2c978991a5483a93e4e129733a72c4efe7d43e
title: SF_Archive Namespace
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_namespace_SF_Archive.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_SF_Archive.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 76196dc74233318b8e2e6e31e5030757d4c2184915c00a1fcf4e31f48677910d
description: The SF_Archive namespace provides classes for testing Apex code that calls Archive Apex.
---
# SF\_Archive Namespace

The SF\_Archive namespace provides classes for testing Apex code that calls Archive Apex.

The following are the classes in the SF\_Archive namespace.

- **[ArchiverAccessor Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_SF_Archive_ArchiverAccessor.htm#apex_class_SF_Archive_ArchiverAccessor)**  
    Provides access to Archive Apex. In tests, use setMock() to return a simulated response instead of making a live archive callout.
- **[ArchiverAccessorResponse Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_SF_Archive_ArchiverAccessorResponse.htm#apex_class_SF_Archive_ArchiverAccessorResponse)**  
    Represents the response returned by Archive Apex methods. In tests, use the setter methods to build a simulated response for your mock to return.