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

Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

Video in

Nikita drops by to share his invaluable experience of using popular 3rd party frameworks in Salesforce. http://media.blubrry.com/salesforceway/audio.xmcdn.com/group42/M05/25/57/wKgJ81rXk6XjaZIAAU_I_KtprFM998.m4a