New answers tagged

0

You can always treat your Queueable/Batchable/Schedulable class as the wrapper itself. In other words, in your code, this would be an acceptable alternative: public void execute(QueueableContext context){ // ... if (!Test.isRunningTest()) { System.enqueueJob(this); } // ... } If you're trying to avoid long parameter lists, the ...


Top 50 recent answers are included