Activity Forums Salesforce® Discussions How can we cover JSON deserialize in Test class in Salesforce?

  • Ratnesh

    Member
    July 9, 2020 at 6:33 am

    debug logs, then store it in string variable and then pass that variable in GetAPIKeyMoc, Then it will cover the uncovered lines of code. In simple words, It will cover json. deserialized object as required.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos