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

    Provides access to Archive Apex. In tests, use setMock() to return a simulated response instead of making a live archive callout.

  • ArchiverAccessorResponse Class

    Represents the response returned by Archive Apex methods. In tests, use the setter methods to build a simulated response for your mock to return.