Skip to main content
1 of 2
Anant
  • 148
  • 10

Private methods are not visible in Test Classes. Hence use @TestVisible annotation so that the method is accessible for running tests only. Use as shown below.

@TestVisible private static void processActionPlan(Workbook workbook) {

your code

}

Refer this link TestVisible Annotation for further details.

Anant
  • 148
  • 10