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 code ?
Hi,
Can anyone please help how to cover a test class for this code ?
Regards,
Soundar.
Can anyone please help how to cover a test class for this code ?
public class GD_CartProductsWrapper { @AuraEnabled public GD_Cart__c cartItem; @AuraEnabled public List<String> uomPicklist; @AuraEnabled public Map<String,GD_Cart__c> orderLinesByUom; @AuraEnabled public Decimal unitPrice; @AuraEnabled public Decimal totalPrice; public GD_CartProductsWrapper(){ cartItem = new GD_Cart__c(); uomPicklist = new List<String>(); orderLinesByUom = new Map<String,GD_Cart__c>(); totalPrice = 0; } }
Regards,
Soundar.
All Answers
Thanks for your help! (code coverage = 100%)
Regards,
soundar