How to cover Catch block in test class in Salesforce?
Sample Class: public class LeadCreation { public Lead objLead; public String lastName; public LeadCreation() { } public PageReference newLead() { objLead = new Lead(Company = 'Test', LastName = lastName, Status ....