You need to sign in to do that
Don't have an account?
Soundar Rajan Ponpandi
How to cover a test class for this sample class ?
Hi,
Can anyone please help to cover a test class for following simple class.
Regards,
Soundar.
Can anyone please help to cover a test class for following simple class.
public without sharing class GD_CartShare { public static void shareCartRecordWhilePlacingOrder(List<GD_Cart__c> cartItems,List<User> approverUserList ){ } public static void deleteCartItems(List<GD_Cart__c> toBeDeletedCart){ Delete toBeDeletedCart; } }
Regards,
Soundar.
You can take the reference from below test class.
I have not compiled it. You can modify the class as per your need.
Thanks,
Vinod