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

  • Aditya

    Member
    June 1, 2020 at 5:06 pm

    Hi,
    If put() method of Map is under any IF condition or For loop. Please make sure that IF condition and For loop is covered first then only map will be covered. 2) Public Map - Map is declared as Public which can be accessible in Test Class. We can pass values by Test class

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos