Atul Rakate
  • Member for 5 years, 2 months
  • Last seen this week
  • Pune, Maharashtra, India
Not able to cover catch block in test class
0 votes

You can cover catch block by throwing custom exception, create class which extends exception e.g. public class MyException extends Exception {} after creating class throw which is type of ...

View answer