This helps us mock the data access in our unit tests.
SUPPRESSWARNINGS
default constructor. Necessary for dynamic instantiation.
public QueueableProcessDataProvider()This is the main method that will be called by the QueueableProcessManager. By extracting this method into a separate class, we can easily mock it in our unit tests.
public String getClassName(Id jobId)| Name | Type | Description |
|---|---|---|
| jobId | Id | Id The Id of the AsyncApexJob record that is being processed. |
String
String The name of the Apex class that just failed.