Activity › Forums › Salesforce® Discussions › How to cover getter and setter in test class in Salesforce? Salesforce® Discussions How to cover getter and setter in test class in Salesforce? Posted by Deepak on October 1, 2020 at 8:58 AM How to cover getter and setter in test class in Salesforce? Anjali replied 5 years, 8 months ago 2 Members · 1 Reply 1 Reply Anjali Member October 1, 2020 at 2:21 PM Please refer the below link- https://developer.salesforce.com/forums/?id=9060G0000005hWGQAY Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me