You need to sign in to do that
Don't have an account?
Simrin
any suggestions ?
test class for static methods
global class RecurringScheduleJob{ public static void startJob(){ String str = 'Job Started at : ' + system.now(); } }I was writing test class for this class but as it is static , i am not allowed to to call static method.
any suggestions ?
@istest
public class RecurringScheduleJob_Test{
private static testmethod void test()
{
RecurringScheduleJob.startJob();
}
}