Activity Forums Salesforce® Discussions How to cover map in batch test class in Salesforce?

  • Anjali

    Member
    June 2, 2020 at 9:38 am
  • Marziya

    Member
    June 2, 2020 at 12:54 pm

    Private Map - Map is declared as Private or inside a method which is not accessible in Test Class. We can not pass values by test class. In order to cover private map, first we need to find the line where we put values into map in our class like mapName. put().

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos