Use the methods in this class to set the response properties for testing HTTP callouts.
The following are constructors for StaticResourceCalloutMock.
The following are methods for StaticResourceCalloutMock. All are instance methods.
public Void setStaticResource(String resourceName)
Type: Void
public Void setStatus(String httpStatus)
Type: Void
public Void setStatusCode(Integer httpStatusCode)
Type: Void